Get add on group details
https://core-api.ancon.io/api/v1/Tenants/{tenantId}/AddOnGroups/{id}Authorization
Access-TokenheaderrequiredTenant- or outlet-level token from the backoffice. See Get started.
Path parameters
tenantIdstring (uuid)requiredidstring (uuid)required
Header parameters
correlationIdstringCorrelation Id for the request
Responses
200OK
addOnGroupobject | null9 fields in
addOnGroupidstring (uuid)tenantIdstring (uuid)namestring | nullName of the add-on group. The name is used to easily identify the group.
minimumAmountnumber (double)Minimum amount of ingredients from this group you must add to the order. 0 means it has no minimum amount.
maximumAmountnumber (double)Maximum amount of ingredients from this group you are allowed to add to the order. 0 means it has no maximum amount.
allowMultiplebooleanA value indicating whether to allow multiple of the same ingredients from this group to be added to the order.
freeAmountnumber (double)Aount of ingredients that will be free of charge from this group. 0 menas it has no free ingredients and the normal ingredient prices will be used.
afterFreePriceobject | nullPrice that will be set for all ingredients that exceedes the 'FreeAmount'. If 'FreeAmount' is 0 then this price will not be used.
2 fields in
afterFreePriceamountnumber (double)currencystring | null
ingredientsarray<object> | nullList of of ingredients and their prices.
6 fields in
ingredientsidstring (uuid)namestring | nullpositioninteger (int32)Sorting position of the ingredient in the group
hasOwnPricebooleanWhether the connected ingredient price is overriden for this add-on group. If this is set to false the price from the ingredient will be used.
defaultPriceobject | nullThe default price on the ingredient, used if 'HasOwnPrice' is false
2 fields in
defaultPriceamountnumber (double)currencystring | null
priceobject | nullThe overriden price for the connected ingredient, used if 'HasOwnPrice' is true
2 fields in
priceamountnumber (double)currencystring | null
401Unauthorized
messagestring | null
404Not Found
messagestring | nullerrorCodestring (uuid)