Appearance
Callback Url For Receipt Updates ​
Description ​
When status of Receipt did change, our server calls this final url to notify the marketplace about it.
Calling ​
POST https://{your_domain_name}/{api_url}
Receive Parameters ​
Receive data as HTTP JSON raw body
json
{
"id" : "string", // Receipt UUID
"qwqerId": "string", // Marketplace or Merchant Id
"type" : "string", // Type of current receipt ('Box' or 'Pallet')
"status" : "string", // Status of current receipt
"created_at" : "int", // Unix timestamp operation in seconds (from 1 Jan 1970)
"items" : [ // Product items
{
"id" : "string", //Product item UUID
"quantity" : "int" //Operated quantity of product item
}
]
}Usage ​
Only when receipt updating to delivered by storage owner
Implement response codes ​
Return HTTP 200 if success processing or HTTP 400 in error processing