GET

Get Loyalty Coupon


Retrieves a loyalty coupon.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Loyalty
Read Loyalty
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/loyalty-coupons/v1/coupons/{loyaltyCouponId}

Path Params
loyaltyCouponIdstringRequired

ID of the loyalty coupon to retrieve.

Response Object
loyaltyCouponLoyaltyCoupon

Retrieved loyalty coupon.

Get loyalty coupon
Request
cURL
curl -X GET \ 'https://www.wixapis.com/loyalty-coupons/v1/coupons/c90918b2-e9a5-4147-b4a4-953e235b9ddd' \ -H 'Authorization: <AUTH>'
Response
JSON
{ "coupon": { "id": "c90918b2-e9a5-4147-b4a4-953e235b9ddd", "accountId": "bf14421a-0ccb-4656-a91f-84119e8fc994", "memberId": "e64eee9f-ec4e-4c8a-b015-eb3be0b2761b", "couponReference": { "couponId": "e48b4b92-3481-40bf-943d-c9324ae3cd6d", "code": "6Q1LC0K4KHSL", "name": "Free shipping", "specification": { "type": "FREE_SHIPPING", "freeShipping": true } }, "status": "PENDING", "rewardName": "Free shipping", "revision": "1", "createdDate": "2024-04-18T15:07:53.639Z", "updatedDate": "2024-04-18T15:07:53.639Z" } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?