Third Party Webhooks Content

Contents of the requests on third party webhooks

TYPE : MENU

POST https://yourwebhook/for_type_menu

Service for receiving the menu from the POS.

Headers

NameTypeDescription

Content-type

string

application/json

auth-anton-x

string

sha256 Hash code of the body request using the webhook secret key.

Request Body

NameTypeDescription

external_store_id

string

ID store on third party platform

language

string

Language of Store: es_EC, es_CO, es_MX

modifier_groups

array

modifier_groups[]

items

array

items[] Store items

categories

array

categories[] Store categories

menus

array

menus[] Stores Menus

{    "message": "ANY MESSAGE"}

param

type

description

name

string

name of the menu

category_external_ids

string[]

Ids of the menu categories on the POS

schedules

Schedule[]

Availability of all menu items on a specified day of week

identifier

string

menu id

Category Object

param

type

description

external_id

string

Id category on the POS

name

string

Category name to be displayed

data_items

dataItem[]

Data of the items(products) of this category in the POS

Item Object

param

type

description

external_id

string

Id item on the POS

name

string

Item name to be displayed

image_url

string (optional)

Url item image

schedules

schedules[]

Item availability on a specified day of week(override schedule menu)

price

price

Specifies the price to charge for ordering the item

data_modifier_groups

dataModifierGroups[]

Data of the modifier groups of this item in the POS

ModifierGroup Object

param

type

description

external_id

string

Id modifier group on the POS

name

string

Modifier group name to be displayed

quantity

Quantity

Rules when selecting options in this modifier group

data_options

dataOptions[]

Modifier group options

TYPE: ORDER_STATUS

POST https://yourwebhook/for_type_order_status

Service where receive the status of order from the POS: REJECT - ACCEPT

Headers

NameTypeDescription

string

sha256 hash code of the body request using the webhook secret key

Content-type

string

application/json

Request Body

NameTypeDescription

message

string

a message when and order is rejected

status

string

ENUM: ACCEPT REJECT

order_id

string

Id order on the third party platform

{"message": "ANY MESSAGE"}

Last updated