Voucher APIVoucherBases

Get voucher basis as PDF

gethttps://voucher-api.ancon.io/public/api/v1/Outlets/{outletId}/OrderVoucherBases/{voucherBasisId}/PDF
View .mdOpenAPI

Authorization

  • Access-Tokenheaderrequired

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

Path parameters

  • outletIdstring (uuid)required
  • voucherBasisIdstring (uuid)required

Query parameters

  • PartTypeinteger (int32)

    Allowed values: 0, 1, 2.

  • SaleTypeinteger (int32)

    Allowed values: 0, 1.

Header parameters

  • correlationIdstring

    Correlation Id for the request

Responses

200OKapplication/octet-stream
401Unauthorizedapplication/octet-stream
404Not Foundapplication/octet-stream
  • messagestring | null
  • errorCodestring (uuid)