Discount checkdeprecated
put
https://core-api.ancon.io/api/v1/Outlets/{outletId}/Checks/{checkId}/DiscountDeprecated. Check the description for the replacement and sunset date, and see how deprecation works.
Will 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)requiredcheckIdstring (uuid)required
Header parameters
correlationIdstringCorrelation Id for the request
Request body
discountobject | null2 fields in
discountvaluenumber (double)typeinteger (int32)Allowed values:
0,1.
codestring | nulldiscountIdstring (uuid) | null
Responses
200OK
messagestring | null
400Bad Request
messagestring | nullerrorCodestring (uuid)additionalDataany | null
401Unauthorized
messagestring | null
404Not Found
messagestring | nullerrorCodestring (uuid)