Coupons can be used to apply discounts to orders.

Orders

Also see Orders.

Resource representations

{
  "kind": "coupon",
  "amount": decimal,
  "code": string,
  "expiry": date
}

Methods


GET /me/coupons/:id
Get a coupon.

GET /users/:user_id/coupons/:id
Get a coupon.

Get a coupon.

Params

Param Name Description
id
Required

The code of the coupon to get.


Value:

Must be String