Add itemdeprecated
https://core-api.ancon.io/api/v1/Outlets/{outletId}/Checks/AddItemWill no longer work after 2028-09-01 00:00, move over to the V2 Check endpoints instead.
Authorization
Access-TokenheaderrequiredTenant- or outlet-level token from the backoffice. See Get started.
Path parameters
outletIdstring (uuid)required
Header parameters
correlationIdstringCorrelation Id for the request
Request body
itemobjectrequired8 fields in
itemvariantIdstring (uuid)requiredquantitynumber (double)requiredmin -100000, max 100000.
kitchenMessagestring | nullpriceobject | null2 fields in
priceunitPricenumber (double)additionalPricenumber (double)
upsellGroupIdstring (uuid) | nullmodificationsarray<object> | null7 fields in
modificationsmodificationstring | nullingredientIdstring (uuid) | nulladdOnGroupIdstring (uuid) | nullreplaceIdstring (uuid) | nulldescriptionstring | nullquantitynumber (double)freeAmountnumber (double)
tagstring | nullsubProductSpecificationarray<object> | nullGets or sets the list of sub product specifications. It is used when adding a multi product with sub product with optional variant(s). In those cases the API user has to select a variant.
2 fields in
subProductSpecificationsubProductIdstring (uuid)Gets or sets the Id of the sub product. A sub product can be be configured in Admin to point to a product and optionally a specific variant. So in some cases the API user has to specify which variant should be added as a sub product.
subProductVariantIdstring (uuid)Gets or sets the id of the variant to be used for this subproduct.
courseIdstring (uuid) | nullcheckIdstring (uuid) | nullcheckobject | null6 fields in
checkorderFormatinteger (int32)Allowed values:
0,1,2,4,8,16,32,64,128,159,191.salesLocationTypeinteger (int32)Allowed values:
0,1,2,3.salesLocationIdstring (uuid)guestCountinteger (int32) | nullcollectionTicketIdstring (uuid) | nullexternalTableIdstring | null
isPrepaidboolean
Responses
200OK
checkItemobject | nullRestored 1.0 wire shape of the old domain CheckItemDto as serialized inside the legacy CheckPaidEvent websocket payload on alpha/production (before the check item domain was restructured into CheckItemDto/SubCheckItemDto). Frozen - do not change the serialized surface.
33 fields in
checkItemidstring (uuid)createdstring (date-time)modifiedstring (date-time)quantityobject | null1 field in
quantityvaluenumber (double)
unitQuantityobject | null1 field in
unitQuantityvaluenumber (double)
unitobject | null2 fields in
unitnamestring | nulltypeinteger (int32)Allowed values:
0,1,2,3.
productPriceInclTaxobject | null2 fields in
productPriceInclTaxunitPriceobject | null2 fields in
unitPriceamountnumber (double)currencyCodestring | null
additionalPriceobject | null2 fields in
additionalPriceamountnumber (double)currencyCodestring | null
productPriceExclTaxobject | null2 fields in
productPriceExclTaxunitPriceobject | null2 fields in
unitPriceamountnumber (double)currencyCodestring | null
additionalPriceobject | null2 fields in
additionalPriceamountnumber (double)currencyCodestring | null
kitchenMessagestring | nulldiscountobject | null2 fields in
discountvaluenumber (double) | nulltypeinteger (int32) | nullAllowed values:
0,1.
checkPaymentIdstring (uuid) | nullpaidAtstring (date-time) | nullcheckIdstring (uuid) | nullstatusinteger (int32)Allowed values:
0,1,2,4,8,16,32.productMaterialCostExclTaxobject | null2 fields in
productMaterialCostExclTaxunitPriceobject | null2 fields in
unitPriceamountnumber (double)currencyCodestring | null
additionalPriceobject | null2 fields in
additionalPriceamountnumber (double)currencyCodestring | null
ticketedAtstring (date-time) | nullticketedTenantUserIdstring (uuid) | nullcourseNamestring | nullcoursePositioninteger (int32)upsellGroupIdstring (uuid) | nullproductobject | nullRestored 1.0 wire shape of Ancon.Wildcat.Shared OrderedProduct as it serializes in the production package (1.0.1200-alpha). The current package marks IsSystemProduct with [JsonIgnore], which would silently drop the field from the legacy payloads, so the raw value object cannot be serialized directly anymore. Frozen - do not change.
20 fields in
productglassesPerBottlenumber (double) | nullhasVariantsbooleanisSystemProductbooleanlocalizedProductNamesobject | null1 field in
localizedProductNamestranslationsmap<string, string> | null
localizedVariantNamesobject | null1 field in
localizedVariantNamestranslationsmap<string, string> | null
positionobject | null1 field in
positionpositioninteger (int32)
productGroupIdstring (uuid)productGroupNamestring | nullproductIdstring (uuid)productNamestring | nullproductNumberstring | nullproductTypeinteger (int32)Allowed values:
0,1,2,3,4,5,6,7,8,9,10.storageInfoobject | null2 fields in
storageInfotemperatureinteger (int32)sizeobject | null3 fields in
sizeheightinteger (int32)widthinteger (int32)lengthinteger (int32)
subProductIdstring (uuid) | nullsubProductQuantityobject | null1 field in
subProductQuantityvaluenumber (double)
useBasePricebooleanvariantIdstring (uuid)variantNamestring | nullvariantNumberstring | nullvariantTypeinteger (int32)Allowed values:
0,1,2,3,4,5,6,7.
discountInfoobject | null2 fields in
discountInfodiscountIdstring (uuid) | nulldiscountNamestring | null
parentItemIdstring (uuid) | nulltaxesarray<object> | null5 fields in
taxesidstring (uuid)createdstring (date-time)modifiedstring (date-time)itemIdstring (uuid)taxobject | null2 fields in
taxtaxIdstring (uuid)taxValueobject | null2 fields in
taxValuetypeinteger (int32)Allowed values:
1,2.ratenumber (double)
modificationsarray<object> | null5 fields in
modificationsidstring (uuid)createdstring (date-time)modifiedstring (date-time)itemIdstring (uuid)modificationobject | nullRestored 1.0 wire shape of Ancon.Wildcat.Shared ProductModification as it serializes in the production package (1.0.1200-alpha), where Cost and MaterialCost are Money objects. The current package flattened them to decimals, so the raw value object cannot be serialized directly anymore. Frozen - do not change.
9 fields in
modificationaddOnGroupobject | null3 fields in
addOnGroupidstring (uuid)namestring | nulllocalizedCustomerFacingNamesobject | null1 field in
localizedCustomerFacingNamestranslationsmap<string, string> | null
costobject | null2 fields in
costamountnumber (double)currencyCodestring | null
freeAmountobject | null1 field in
freeAmountvaluenumber (double)
ingredientobject | null3 fields in
ingredientidstring (uuid)nameobject | null1 field in
namevaluestring | null
localizedNamesobject | null1 field in
localizedNamestranslationsmap<string, string> | null
materialCostobject | null2 fields in
materialCostamountnumber (double)currencyCodestring | null
modificationstring | nullpositionobject | null1 field in
positionpositioninteger (int32)
quantityobject | null1 field in
quantityvaluenumber (double)
replacementobject | null3 fields in
replacementidstring (uuid)nameobject | null1 field in
namevaluestring | null
localizedNamesobject | null1 field in
localizedNamestranslationsmap<string, string> | null
checkItemsarray<object> | nullpricePresetIdstring (uuid) | nullisPrepaidbooleanusedAccountIdstring (uuid) | nulladdOnProductsarray<object> | null21 fields in
addOnProductsidstring (uuid)createdstring (date-time)modifiedstring (date-time)quantityobject | null1 field in
quantityvaluenumber (double)
unitQuantityobject | null1 field in
unitQuantityvaluenumber (double)
unitobject | null2 fields in
unitnamestring | nulltypeinteger (int32)Allowed values:
0,1,2,3.
pricePresetIdstring (uuid) | nullproductPriceInclTaxobject | null2 fields in
productPriceInclTaxunitPriceobject | null2 fields in
unitPriceamountnumber (double)currencyCodestring | null
additionalPriceobject | null2 fields in
additionalPriceamountnumber (double)currencyCodestring | null
productPriceExclTaxobject | null2 fields in
productPriceExclTaxunitPriceobject | null2 fields in
unitPriceamountnumber (double)currencyCodestring | null
additionalPriceobject | null2 fields in
additionalPriceamountnumber (double)currencyCodestring | null
discountobject | null2 fields in
discountvaluenumber (double) | nulltypeinteger (int32) | nullAllowed values:
0,1.
statusinteger (int32)Allowed values:
0,1,2,4,8,16,32.productMaterialCostExclTaxobject | null2 fields in
productMaterialCostExclTaxunitPriceobject | null2 fields in
unitPriceamountnumber (double)currencyCodestring | null
additionalPriceobject | null2 fields in
additionalPriceamountnumber (double)currencyCodestring | null
productobject | nullRestored 1.0 wire shape of Ancon.Wildcat.Shared OrderedProduct as it serializes in the production package (1.0.1200-alpha). The current package marks IsSystemProduct with [JsonIgnore], which would silently drop the field from the legacy payloads, so the raw value object cannot be serialized directly anymore. Frozen - do not change.
20 fields in
productglassesPerBottlenumber (double) | nullhasVariantsbooleanisSystemProductbooleanlocalizedProductNamesobject | null1 field in
localizedProductNamestranslationsmap<string, string> | null
localizedVariantNamesobject | null1 field in
localizedVariantNamestranslationsmap<string, string> | null
positionobject | null1 field in
positionpositioninteger (int32)
productGroupIdstring (uuid)productGroupNamestring | nullproductIdstring (uuid)productNamestring | nullproductNumberstring | nullproductTypeinteger (int32)Allowed values:
0,1,2,3,4,5,6,7,8,9,10.storageInfoobject | null2 fields in
storageInfotemperatureinteger (int32)sizeobject | null3 fields in
sizeheightinteger (int32)widthinteger (int32)lengthinteger (int32)
subProductIdstring (uuid) | nullsubProductQuantityobject | null1 field in
subProductQuantityvaluenumber (double)
useBasePricebooleanvariantIdstring (uuid)variantNamestring | nullvariantNumberstring | nullvariantTypeinteger (int32)Allowed values:
0,1,2,3,4,5,6,7.
discountInfoobject | null2 fields in
discountInfodiscountIdstring (uuid) | nulldiscountNamestring | null
addOnGroupIdstring (uuid)addOnGroupNamestring | nullfreeAmountobject | null1 field in
freeAmountvaluenumber (double)
positionobject | null1 field in
positionpositioninteger (int32)
taxesarray<object> | null5 fields in
taxesidstring (uuid)createdstring (date-time)modifiedstring (date-time)itemIdstring (uuid)taxobject | null2 fields in
taxtaxIdstring (uuid)taxValueobject | null2 fields in
taxValuetypeinteger (int32)Allowed values:
1,2.ratenumber (double)
kitchenMessagestring | nulladdOnGroupLocalizedCustomerFacingNamesobject | null1 field in
addOnGroupLocalizedCustomerFacingNamestranslationsmap<string, string> | null
attendeeIdstring (uuid) | nullautoAcceptbooleanhasCourseSupportboolean
400Bad Request
messagestring | nullerrorCodestring (uuid)additionalDataany | null
401Unauthorized
messagestring | null
404Not Found
messagestring | nullerrorCodestring (uuid)