A CustomerCredit represents a coupon credit issued to a
customer — either automatically as a recurring membership
benefit or manually as a one-off (e.g. a goodwill gesture).
Each credit references the underlying Coupon that defines
what it entitles the customer to.
The unique identifier of the customer this operation is scoped to.
Customer IDs are stable across renames and email changes; treat them
as opaque strings even though the underlying format is a UUID.
Issues a one-off credit to the customer. Use this endpoint to grant an ad-hoc coupon credit; recurring credits typically come from membership credit rules.
The unique identifier of the customer this operation is scoped to.
Customer IDs are stable across renames and email changes; treat them
as opaque strings even though the underlying format is a UUID.
The Coupon template that defines what the credit
entitles the customer to spend (offering, monetary
value, redemption rules). Every credit is issued from a
coupon — there is no free-form credit grant.
The Membership the credit relates to, if the credit
is being issued as part of a membership benefit (e.g.
a monthly recurring complimentary treatment). Omit for
one-off credits unrelated to a membership.
The unique identifier of the customer this operation is scoped to.
Customer IDs are stable across renames and email changes; treat them
as opaque strings even though the underlying format is a UUID.
The unique identifier of the customer this operation is scoped to.
Customer IDs are stable across renames and email changes; treat them
as opaque strings even though the underlying format is a UUID.