commerce
commerce

Get Offer

One code and the orders that carry it — the case-study ledger.

get/api/v1/commerce/offers/{code}

Request

  • Base URL: https://app.goodleads.club (the document declares no server; this is the origin it was published from)
  • URL: https://app.goodleads.club/api/v1/commerce/offers/{code}
  • Auth: API key in header X-API-Key

Path parameters

codestring required

Response

Successful Response

codestring required
unit_centsinteger required
statusstring required
rulestring required
cap_recordsinteger nullable required
cap_centsinteger nullable required
remaining_recordsinteger nullable required
remaining_centsinteger nullable required
redeemed_recordsinteger required
redeemed_centsinteger required
bound_emailstring nullable required
expires_atstring date-time nullable required
revoked_atstring date-time nullable required
notestring nullable required
created_atstring date-time nullable required
ordersinteger required
order_rowsobject[] required

Changes

No recorded changes to this operation across all 1 revision of this API.