Core APIChecks

Check item discountdeprecated

puthttps://core-api.ancon.io/api/v1/Outlets/{outletId}/Checks/{checkId}/Items/Discount
View .mdOpenAPI
Deprecated. 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-Tokenheaderrequired

    Tenant- or outlet-level token from the backoffice. See Get started.

Path parameters

  • outletIdstring (uuid)required
  • checkIdstring (uuid)required

Header parameters

  • correlationIdstring

    Correlation Id for the request

Request body application/json

  • checkItemsarray<object>required
    2 fields in checkItems
    • idstring (uuid)
    • quantitynumber (double)
  • discountobject | null
    2 fields in discount
    • valuenumber (double)
    • typeinteger (int32)

      Allowed values: 0, 1.

  • discountIdstring (uuid) | null
  • pinOverridestring | null

Responses

200OKapplication/json
  • messagestring | null
400Bad Requestapplication/json
  • messagestring | null
  • errorCodestring (uuid)
  • additionalDataany | null
401Unauthorizedapplication/json
  • messagestring | null
404Not Foundapplication/json
  • messagestring | null
  • errorCodestring (uuid)