Create redemption
Creates a redemption for a specific coupon using the corresponding couponId
value.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
24
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
A unique identifier obtained from Copilot for the System app in the fabric ecosystem, essential for OpenID Connect authentication flows.
A unique request ID.
Path Parameters
A 24-character system-generated coupon ID generated using the create coupon endpoint.
Body
Coupon redemption details
Coupon code to be redeemed
Purchase order ID associated with the coupon redemption
ID of the user who redeems the coupon
Email address of the user who redeems the coupon
Response
Coupon's redemption details
A 24-character system-generated redemption ID.
A 24-character system-generated coupon ID generated using the create coupon endpoint.
Coupon code to redeem
Purchase order ID associated with the coupon redemption
ID of the user who redeems the coupon
Email address of the user who redeems the coupon
The timestamp in UTC format of when the coupon redemption was created.
The timestamp in UTC format of when the coupon redemption was last updated.
Was this page helpful?