Enable delivery integration

Only Uber integration is available for testing

post
Enable delivery integration

https://integrations.mipos.shop/api/v1/integration/enable
Enable the selected integration for this store
Request
Response
Request
Headers
Content-Type
required
string
application/json
Authorization
required
string
Bearer {access_token}
Body Parameters
external_store_id
required
string
Id of the store in the delivery/third party system
store_id
required
string
Id of the store in the platform
integration_id
required
string
Id of the integration in the platform
Response
200: OK
Cake successfully retrieved.
{
"message": "Successfully activated integration.",
"data": null
}
401: Unauthorized
"Unauthorized."
409: Conflict
Could not find a cake matching this query.
{
"message": [
"This name is not available.",
"You don't have this store available.",
"Integration not available.",
"Microservice does not have this integration configured.",
"Could not change the status of integration.",
"Unable to get token.",
"This store does not have the store delivery id."
],
"data": null
}
422: Unprocessable Entity
{
"store_id": [
"The store id field is required.",
"The selected store id is invalid."
],
"integration_id": [
"The integration id field is required.",
"The selected integration id is invalid."
]
}

post
Enable Third Party market integration

https://integrations.mipos.shop/third_party/v1/integration/store/config
This service is used to enable a custom delivery integration. You need the integration_id provided by the Delivery and the external store ID that represent your store in their system.
Request
Response
Request
Headers
Content-type
required
string
application/json
Authorization
required
string
Bearer {access_token}
Body Parameters
integration_id
required
integer
id of delivery integration
external_store_id
required
integer
the store id in delivery system
store_id
required
integer
id of the store in the platform
Response
200: OK