Webhook management
This public API includes webhook for the following cases: 1.Incoming orders(type="ORDER"), is the webhook where our service will send new orders.
2.Get Menu(type="Menu"), is the webhook where our service will get POS menu.
The URLs that will receive the requests must be configured with the following endpoint.
When you set a Menu type webhook, our service will send to you the store_id as a body parameter.
Set up webhook
POST
https://integrations.mipos.shop/api/v1/integration/webhook/create
Headers
Authorization
string
Bearer {access_token}
Content-Type
string
application/json
Request Body
type
string
Webhook type, by default is "ORDER"
url
string
Webhook URL
Update webhook
POST
https://integrations.mipos.shop/api/v1/integration/webhook/update
Headers
Authorization
string
Bearer {access_token}
Content-Type
string
application/jsonc
Request Body
current_url
string
Current webhook URL
new_url
string
New webhook URL
Delete webhook
POST
https://integrations.mipos.shop/api/v1/integration/webhook/delete
Headers
Authorization
string
Bearer {access_token}
Content-Type
string
application/json
Request Body
url
string
Webhook URL
Get user webhooks
GET
https://integrations.mipos.shop/api/v1/integration/webhooks
Headers
Authorization
string
Bearer {token}
Last updated
Was this helpful?