Referral Coupon Management
Customer number (ID) of customer.
The tenant that the caller is acting upon.
Please note that this value is always lowercase.
The referral coupon has been successfully retrieved.
Coupons describe voucher alike commerce capabilities.
e.g.: WINTER-SALE, 10OFF (read-only)
Coupon name.
Coupon description.
PERCENT for relative values, ABSOLUTE for float values, referring to a specific currency, FREE_SHIPPING for reducing the shipping cost to 0.
A discount percentage within the range [0.00, 100.00]. Must be specified only if type is PERCENT.
Specifies if the coupon can be redeemed by anonymous users.
falseMaximum number of redemptions; -1 designates 'unlimited' (seller-only).
-1Maximum number of redemptions per customer; -1 designates 'unlimited'. Cannot be specified for coupons which can be redeemed by anonymous users.
-1The Id of the customer who originally received the coupon (seller-only).
Indicates if the coupon is type of referral coupon. This property is read only.
The number of times a specific coupon has been redeemed. Read-only, set through server (seller-only).
Current status of the coupon (read-only). INACTIVE: the coupon is only valid in the future; VALID: can be used; EXPIRED: the coupon validity period has expired; USED: the maximum number of redemptions for the coupon has been reached.
Flag to mark a coupon as deleted (a.k.a. Soft delete). It is a read-only and seller-only attribute
No content if there is no referral coupon
Request syntactically incorrect. Details of the error are included in the response payload.
Example response
The requested resource does not exist.
Some server side error occurred.
Customer number (ID) of customer.
The tenant that the caller is acting upon.
Please note that this value is always lowercase.
The referral coupon code has been successfully retrieved.
Coupons describe voucher alike commerce capabilities.
e.g.: WINTER-SALE, 10OFF (read-only)
Coupon name.
Coupon description.
PERCENT for relative values, ABSOLUTE for float values, referring to a specific currency, FREE_SHIPPING for reducing the shipping cost to 0.
A discount percentage within the range [0.00, 100.00]. Must be specified only if type is PERCENT.
Specifies if the coupon can be redeemed by anonymous users.
falseMaximum number of redemptions; -1 designates 'unlimited' (seller-only).
-1Maximum number of redemptions per customer; -1 designates 'unlimited'. Cannot be specified for coupons which can be redeemed by anonymous users.
-1The Id of the customer who originally received the coupon (seller-only).
Indicates if the coupon is type of referral coupon. This property is read only.
The number of times a specific coupon has been redeemed. Read-only, set through server (seller-only).
Current status of the coupon (read-only). INACTIVE: the coupon is only valid in the future; VALID: can be used; EXPIRED: the coupon validity period has expired; USED: the maximum number of redemptions for the coupon has been reached.
Flag to mark a coupon as deleted (a.k.a. Soft delete). It is a read-only and seller-only attribute
Request syntactically incorrect. Details of the error are included in the response payload.
Example response
The requested resource does not exist.
Some server side error occurred.
Last updated
Was this helpful?

