Retrieves a loyalty coupon.
You can only call this method when authenticated as a Wix app or Wix user identity.
ID of the loyalty coupon to retrieve.
Retrieved loyalty coupon.
curl -X GET \
'https://www.wixapis.com/loyalty-coupons/v1/coupons/c90918b2-e9a5-4147-b4a4-953e235b9ddd' \
-H 'Authorization: <AUTH>'
{
"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"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.