POS integrations management

Get logistic integrations

GET https://integrations.mipos.shop/api/v1/logistic/pos/list

Provides a list of delivery integrations registered in the platform

Headers

Name
Type
Description

Authorization

string

Bearer {access_token}

[
    {
        "id": 8,
        "name": "logistic company"
    }
]

Change status logistic integration

POST https://integrations.mipos.shop/api/v1/logistic/pos/change/status

Enable the selected integration for this store

Headers

Name
Type
Description

Content-Type

string

application/json

Authorization

string

Bearer {access_token}

Request Body

Name
Type
Description

status

string

"enable" or "disable"

external_store_id

string

ID of the store in the logistic system

store_id

string

ID of the store in the platform

integration_id

string

ID of the integration in the platform

{
    "message": "Successful change of status.",
    "data": null
}

Manage Status Delivery Webhook

POST https://integrations.mipos.shop/api/v1/logistic/pos/webhook/status/manage

Create or update webhook for changes of delivery status of an order .

Headers

Name
Type
Description

Authorization

string

Bearer {access_token}

Content-type

string

application/json

Request Body

Name
Type
Description

integration_id

string

Your Logistic System Id

url

string

Webhook URL

{
    "message": "Webhook successfully configured.",
    "data": null
}

The events you will receive in this webhook will have the following structure.

{
    "service_identifier": "abc123",
    "status": "....",
    "location": {
        "lat": ....,
        "lng": ....
    }
}

Manage Location Delivery Webhook

POST https://integrations.mipos.shop/api/v1/logistic/pos/webhook/location/manage

Create or update webhook for changes of location of an order .

Headers

Name
Type
Description

Authorization

string

Bearer {access_token}

Content-type

string

application/json

Request Body

Name
Type
Description

integration_id

string

Your Logistic System Id

url

string

Webhook URL

The events you will receive in this webhook will have the following structure.

{
    "service_identifier": "abc123",
    "location": {
        "lat": ....,
        "lng": ....
    }
}

Last updated

Was this helpful?