HomeGuidesRecipesAPI ReferenceChangelog
GuidesAPI ReferenceCustomer Help CenterLog In
These docs are for v2017-01-01. Click to read the latest docs for v2018-06-26.

Codes

One coupon can have multiple codes. Each code is a unique alphanumeric string that can be applied to a booking.

Structure

A coupon code has the following key attributes:

  • code An alphanumeric string that has the code that can be applied to a booking. This code is case in-sensitive.
  • status A status of 100 will indicate an active code, and a status of 400 will indicate a voided code. Voided codes cannot be used on a booking.
  • uses The number of times this code has been used
  • orders A list of order IDs where this code has been used.