Order Creation failed
Once the order is received, if it failed to be saved in your system, a response is required through the following endpoint, to report this to the delivery platform.
Order Deny
POST https://integrations.mipos.shop/api/v1/integration/order/deny
Headers
Name
Type
Description
Authorization
string
Bearer {access_token}
Content-Type
string
application/json
Request Body
Name
Type
Description
delivery_id
string
Id delivery in the platform
store_id
string
Id store in the platform
order_external_id
string
Order external_id sent in the json
message
string
Reason for rejection of the order
{
"message": [
"Operation completed successfully"
],
"data": null
}"Unauthorized."{
"message": [
"User not authenticated.",
"User not found.",
"You don't have this store available.",
"Order not found.",
"Microservice does not have this integration configured.",
"Unable to get token.",
"Error sending the rejection to the delivery platform"
],
"data": null
}{
"delivery_id": [
"The delivery id field is required."
],
"store_id": [
"The store id field is required.",
],
"order_external_id": [
"The order external id field is required."
],
"message": [
"The message field is required."
]
}Last updated
Was this helpful?