Successful order creation

Once the order is received, if it was successfully stored in your system, a response is required through the following endpoint, to report this to the delivery platform.

post
Order Accept

https://integrations.mipos.shop/api/v1/integration/order/accept
Request
Response
Request
Headers
Authorization
required
string
Bearer {access_token}
Content-Type
required
string
application/json
Body Parameters
delivery_id
required
string
Id delivery in the platform
store_id
required
string
Id store in the platform
order_external_id
required
string
Order external_id sent in the json
Response
200: OK
{
"message": [
"Operation completed successfully"
],
"data": null
}
401: Unauthorized
"Unauthorized."
409: Conflict
{
"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 acceptance to the delivery platform."
],
"data": null
}
422: Unprocessable Entity
{
"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."
]
}