Retreive Delivery Orders

Get delivery orders

GET https://integrations.mipos.shop/api/v1/orders/{store_id}

Provide a list of all delivery orders from a store in the last 10 minutes that the POS has not sent the status: ACCET -> https://mipos.gitbook.io/public-api/delivery-orders/successful-order-creation DENY -> https://mipos.gitbook.io/public-api/delivery-orders/order-creation-failed

Path Parameters

Name
Type
Description

store_id

string

Id store on the platform

Headers

Name
Type
Description

Authorization

string

Bearer {access_token}

{
    "message": "Orders.",
    "data": [
        {
            "external_id": "01f1b8ce-a65d-4876-a72f-8f549f3566b7",
            "created_at": "2020-03-20T04:51:03Z",
            "total": 25800,
            "customer": "Brenda E.",
            "store_id": "3",
            "order_number": "566B7",
            "instructions": "",
            "items": [
                {
                    "external_id": "13753",
                    "name": "El Xolo",
                    "quantity": 2,
                    "unit_value": 10900,
                    "total_unit_value": 12900,
                    "total_value": 25800,
                    "instructions": "",
                    "modifiers": [
                        {
                            "external_id": "3006",
                            "name": "Elige Tus  Papas",
                            "quantity": 1,
                            "unit_value": 0,
                            "total_value": 0
                        },
                        {
                            "external_id": "3012",
                            "name": "Elige tu salchicha",
                            "quantity": 1,
                            "unit_value": 2000,
                            "total_value": 2000
                        }
                    ]
                }
            ],
           "discount_value": 800,
           "delivery_id": 1
        }
    ]
}

Get filtered orders

POST https://integrations.mipos.shop/delivery_data/v1/orders

This endpoint allows you to get all orders filtered by the specified parameters.

Headers

Name
Type
Description

Content-Type

string

application/json

Authorization

string

Bearer{access_token}

Request Body

Name
Type
Description

order_status

string

Order status(accepter, rejected)

order_number

string

External order number

to_date

string

Until specified date

from_date

string

Starting from specified date

page

number

Current page number

store_ids

array

Store ids to search for

Last updated

Was this helpful?