Available services

Logistics services available to users with POS or Delivery roles

post
Estimate Delivery Service

https://integrations.mipos.shop/api/v1/logistic/third_party/estimate/service
Estimate the delivery value of an order, without making the service request
Request
Response
Request
Headers
Content-Type
required
string
application/json
Authorization
required
string
Bearer {access_token}
Body Parameters
store_id
required
string
ID of the store in the platform
delivery_info
required
object
Order information to calculate the estimated value
Response
200: OK
{
"message": "Estimated values",
"data": {
"estimate_value": 1150, // This value includes 2 decimal places($11.50).
"estimate_time": 50 // This time is in minutes,
"integration_id": 8
}
}
409: Conflict
{
"message": [
"You don't have this store available.",
"The order pickup information is required.",
"The order delivery information is required.",
"The address information is required.",
"The address latitude is required.",
"The address longitude is required.",
"The contact phone information is required.",
"The contact name information is required.",
"The address information is required.",
"The address latitude is required.",
"The address longitude is required.",
"The contact phone information is required.",
"The contact name information is required.",
"Values could not be estimated."
],
"data": null
}
422: Unprocessable Entity
{
"store_id": [
"The store id field is required.",
"The store id must be a string.",
],
"delivery_info": [
"The delivery info field is required."
]
}

post
Request Delivery Service

https://integrations.mipos.shop/api/v1/logistic/third_party/request/service
Request the package delivery service to the logistics system
Request
Response
Request
Headers
Content-Type
required
string
application/json
Authorization
required
string
Bearer {access_token}
Body Parameters
store_id
required
string
ID of the store in the platform
delivery_info
required
object
Order information to calculate the estimated value
Response
200: OK