GET

Get Referral Reward


Retrieves a referral reward.

Endpoint
GET
https://www.wixapis.com/_api/referral-rewards/v1/referral-rewards/{id}

Path Params
idstringRequired

Referral reward ID.

Response Object
referralRewardReferralReward

Retrieved referral reward.

Get Referral Reward
Request
cURL
curl -X GET \ 'https://www.wixapis.com/_api/referral-rewards/v1/referral-rewards/c8c732cf-2ca2-4025-9b1c-3be02f099cdb' \ -H 'Authorization: <AUTH>'
Response
JSON
{ "referralReward": { "id": "c8c732cf-2ca2-4025-9b1c-3be02f099cdb", "revision": "2", "createdDate": "2024-07-08T11:22:00.728Z", "updatedDate": "2024-07-08T11:27:57.197Z", "rewardType": "COUPON", "rewardedReferringCustomerId": "4fb41de4-da9c-4818-b54f-82c955ecc866", "coupon": { "id": "43fa238a-b464-4a5b-9079-5682a5a1eab7", "code": "6QW1ASGTZ0Q4", "status": "APPLIED", "couponSpecification": { "name": "Your reward", "discountType": "FIXED_AMOUNT", "limitedToOneItem": true, "appliesToSubscriptions": null, "discountedCycleCount": null, "fixedAmountOptions": { "amount": 10 }, "scope": { "namespace": "stores", "group": null } } } } }
Errors

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

Did this help?