Skip to product menu
Skip to main content

Response

Responses will be in the JSON format.

Node NameDescription
code Zoho Commerce error code. This will be zero for a success response and non-zero in case of an error.
messageMessage for the invoked API.
resource nameComprises the invoked APIʼs Data.

Date

All timestamps are returned in the ISO 8601 format - YYYY-MM-DDThh:mm:ssTZD.

Example: 2016-06-11T17:38:06-0700

Response Structure The response structure for the salesorders API follows the below format.

Copied{
"code" : 0,
"message" : "success",
"salesorder" : {
"salesorder_id" : "..."
}
}

Request Example

Copiedcurl -i -L -X GET
-H "Authorization:Zoho-oauthtoken ***"
-H "X-com-zoho-store-organizationid:58927961"
-H "X-ZOHO-Include-Formatted:true"
'https://commerce.zoho.com/store/api/v1/salesorders

Or

Copiedcurl -i -L -X GET
-H "Authorization:Zoho-oauthtoken ***"
-H "X-com-zoho-store-organizationid:58927961"
'https://commerce.zoho.com/store/api/v1/salesorders/51128000000104005'

Response Header Example

CopiedHTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8