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
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
Content-Type
string
application/json
Authorization
string
Bearer {access_token}
Request Body
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
}"Unauthorized."{
"message": [
"You don't have this store available.",
"Integration not available.",
"This store does not have this integration enabled."
],
"data": null
}{
"status": [
"The status field is required.",
"The status must be a string.",
"The selected status is invalid."
],
"store_id": [
"The store id field is required."
],
"external_store_id": [
"The external store id field is required."
],
"integration_id": [
"The integration id field is required.",
"The integration id must be a string.",
"The selected integration id is invalid."
]
}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
Authorization
string
Bearer {access_token}
Content-type
string
application/json
Request Body
integration_id
string
Your Logistic System Id
url
string
Webhook URL
{
"message": "Webhook successfully configured.",
"data": null
}{
"message": [
"Unable to set up the webhook URL."
],
"data": null
}{
"integration_id": [
"The integration id field is required."
],
"url": [
"The url field is required."
]
}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
Authorization
string
Bearer {access_token}
Content-type
string
application/json
Request Body
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?