Appearance
Callback Url For Sale Updates ​
Description ​
When status of Sale 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", // Sale UUID
"qwqerId": "string", // Marketplace or Merchant Id
"status" : "string", // Status of current sale
"created_at" : "int", // Unix timestamp operation in seconds (from 1 Jan 1970)
"quantity" : "int" // Operated quantity of sale item
}Usage ​
When sale updating status by storage owner
wait_for_courier - when the owner of the storage call driver to send the package
And after this QWQER delivery system
on_the_way - when the driver did accept request and went to the owner of the storage
delivered - when the driver delivered the package to the buyer
Implement response codes ​
Return HTTP 200 if success processing or HTTP 400 in error processing