Redemptions

Create, retrieve, and list redemption records for coupons, rewards, and offers.

View as Markdown

A redemption records the moment a customer redeems a coupon, reward, or offer. Each redemption is immutable once created and serves as an audit trail for discount and loyalty activity.

Illustrative content. Hand-authored to demonstrate the Standard/Advanced pattern; the production page will be generated from the VINR OpenAPI spec (roadmap item #1). Field names are representative.

The redemption objectAsk

idstring

Unique identifier for the redemption, e.g. rdm_7Cw3nP.

customerobjectExpandable

The customer who performed the redemption. Expand to retrieve the full customer object.

redeemable_idstring

The ID of the redeemed object — a coupon (cpn_), reward (rwd_), or offer (ofr_).

redeemable_typeenum

One of coupon, reward, or offer.

amount_offinteger

The discount value applied to the order in the smallest currency unit, if the redeemable was a discount coupon or offer. null for non-discount redeemables such as loyalty rewards.

redeemed_atinteger

Unix timestamp when the customer completed the redemption.

createdinteger

Unix timestamp when this redemption record was created.

Create a redemptionAsk

Record a customer redeeming a coupon, reward, or offer. Set redeemable_type to indicate which kind of redeemable is being applied.

Retrieve a redemptionAsk

Fetch a redemption record by its ID.

List redemptionsAsk

Returns a paginated list of redemptions. Filter by customer or redeemable type to narrow results.

ParameterTypeDescription
customerstringFilter by customer ID.
redeemable_typeenumFilter by type: coupon, reward, or offer.
limitintegerNumber of results to return. Default 10, max 100.

redemption.created. See Events.

Was this page helpful?