Public API
  • Overview
  • Authentication
    • Create a developer account
    • Generate account access token
    • Refresh access token
  • Store management
    • Countries
    • Create store
    • User stores
  • Integration management
    • Information of delivery integrations
    • Enable delivery integration
    • Disable delivery integration
  • Delivery Orders For POS
    • Webhook management
    • Webhook Content
    • Retreive Delivery Orders
    • Successful order creation
    • Order Creation failed
  • Menu Management
    • Upload menu to delivery app
  • Third Party Market Apps
    • Third Party Webhook Management
    • Third Party Send Order
    • Third Party Webhooks Content
  • Inventory
    • Inventory system management
    • POS sync inventory
  • Logistic
    • Logistic integrations management
    • POS integrations management
    • Available services
Powered by GitBook
On this page

Was this helpful?

  1. Delivery Orders For POS

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.

Order Accept

POST https://integrations.mipos.shop/api/v1/integration/order/accept

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": [
        "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 acceptance 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."
    ]
}
PreviousRetreive Delivery OrdersNextOrder Creation failed

Last updated 5 years ago

Was this helpful?