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
Content-type
string
application/json
auth-anton-x
string
sha256 Hash code of the body request using the webhook secret key.
Request Body
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"}{    "message": "ERROR MESSAGE"}Menu Object
param
type
description
day_of_week
enum(string)
monday, tuesday, wednesday, thursday, friday, saturday, sunday
periods
Periods[]
Sale time periods per day
param
type
description
start
string
Menu availability start time (hh:mm)
end
string
Menu availability end time (hh:mm)
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
The price of the item will only be replaced at this level when the categories are in different menus.
param
type
description
item_external_id
string
Id item on the POS (this must be the same defined in the external_id of the Item)
price
object (optional)
{ value: 5000 }
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
Price should always be integer value (never decilmals), include decimals in the integer value.
Example: $10.30, it would be 1030
If your currency does not handle decimals, you must add 2 zeros to the end of the integer value.
Example: 12000 COP, it would be 1200000
param
type
description
value
number
Price of the item
promotion_value
number(optional)
Promotional price of the item
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
param
type
description
min_quantity
integer
Minimum quantity allowed (inclusive). Cannot be negative.
max_quantity
integer
Maximum quantity allowed (inclusive). Must be greater than the min_quantity
param
type
description
item_external_id
string
Id item on the POS (this must be the same defined in the external_id of the Item)
price
Price (optional)
Override the price of the item in this context
quantity
Quantity (optional)
Rules when selecting this item option
TYPE: ORDER_STATUS
POST https://yourwebhook/for_type_order_status
Service where receive the status of order from the POS: REJECT - ACCEPT
Headers
string
sha256 hash code of the body request using the webhook secret key
Content-type
string
application/json
Request Body
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"}{"message": "ERROR MESSAGE"}Last updated
Was this helpful?
