Coupon Management
Was this helpful?
Was this helpful?
The tenant that the caller is acting upon.
Please note that this value is always lowercase.
The list of comma-separated properties used to sort the results. By default, the column values are sorted in ascending order. Can either be in the form of fieldName or fieldName:asc,fieldName:desc. If you want to sort by localized attributes, you must use the following form: fieldName.language or fieldName.language:asc,fieldName.language:desc.
The page number to be retrieved where the size of the pages must be specified by the pageSize parameter. The number of the first page is 1.
1
The number of documents being retrieved on the page.
16
This parameter requests to return the total number of object in the collection fulfilling the criteria together with the response. This number will be returned in the 'items-count' header.
The simple query criteria based on available fields to limit returned results or a set of modified documents.
Includes deleted coupons in the result.
false
Creates a coupon.
By default, the coupon code is saved in uppercase. To ensure that the code is saved both in upper and lower case, set the enableCouponCodeCaseSensitivity
configuration to true in the configuration service or System Preferences.
The endpoint was previously available under the /coupon-v2/
base path.
coupon.coupon_manage
The tenant that the caller is acting upon.
Please note that this value is always lowercase.
Coupon creation schema.
e.g.: WINTER-SALE, 10OFF. If not provided, a code will be auto generated.
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.
ABSOLUTE
Possible values: A discount percentage within the range [0.00, 100.00]. Must be specified only if type is 'PERCENT'.
Must be specified only if type is 'ABSOLUTE'. Defines the amount that should be substracted from the cart subtotal.
Specifies if the coupon can be redeemed by anonymous user. If set to false, only logged-in customers can redeem it.
false
Maximum number of redemptions; -1 designates 'unlimited' (seller-only).
-1
Maximum number of redemptions per customer; -1 designates 'unlimited'. Cannot be specified for coupons which can be redeemed by anonymous users.
-1
Determines whether the coupon is applied to the total or subtotal value of the order.
SUBTOTAL
Possible values: Defines if the coupon has category restrictions.
Info: Cannot be combined together with the segment restrictions.
false
Defines if the coupon has segment restrictions. If the value is set to true
, the restrictions.segments
must be provided.
Info: Cannot be combined neither with the category restrictions nor with customers restrictions.
false
The Id of the customer who originally received the coupon (seller-only).
Retrieves coupon details.
The endpoint was previously available under the /coupon-v2/
base path.
coupon.coupon_redeem_on_behalf
- needed only if the service should use the customer identification specified in the request query (customerNumber
attribute) instead of the one associated with current authentication token.
Code of a coupon
The tenant that the caller is acting upon.
Please note that this value is always lowercase.
Customer number (ID) of customer on behalf of which we request coupon information. Needed only in case of retrieving coupon eligible for other customer than the caller.
Code of a coupon
The tenant that the caller is acting upon.
Please note that this value is always lowercase.
No content
Code of a coupon
The tenant that the caller is acting upon.
Please note that this value is always lowercase.
If true, a partial update will be supported, otherwise the full object replacement will be performed.
This parameter is DEPRECATED. For partial updates, please use PATCH method instead.
Coupons describe voucher alike commerce capabilities, e.g. 10% off winter accessories.
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 user. If set to false, only logged-in customers can redeem it.
false
Maximum number of redemptions; -1 designates 'unlimited' (seller-only).
-1
Maximum number of redemptions per customer; -1 designates 'unlimited'. Cannot be specified for coupons which can be redeemed by anonymous users.
-1
Determines whether the coupon is applied to the total or subtotal value of the order.
SUBTOTAL
Possible values: Defines if the coupon has category restrictions.
Info: Cannot be combined together with the segment restrictions.
false
Defines if the coupon has segment restrictions. If the value is set to true
, the restrictions.segments
must be provided.
Info: Cannot be combined neither with the category restrictions nor with customers restrictions.
false
The Id of the customer who originally received the coupon (seller-only).
No content
Code of a coupon
The tenant that the caller is acting upon.
Please note that this value is always lowercase.
Coupons describe voucher alike commerce capabilities, e.g. 10% off winter accessories.
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 user. If set to false, only logged-in customers can redeem it.
false
Maximum number of redemptions; -1 designates 'unlimited' (seller-only).
-1
Maximum number of redemptions per customer; -1 designates 'unlimited'. Cannot be specified for coupons which can be redeemed by anonymous users.
-1
Determines whether the coupon is applied to the total or subtotal value of the order.
SUBTOTAL
Possible values: Defines if the coupon has category restrictions.
Info: Cannot be combined together with the segment restrictions.
false
Defines if the coupon has segment restrictions. If the value is set to true
, the restrictions.segments
must be provided.
Info: Cannot be combined neither with the category restrictions nor with customers restrictions.
false
The Id of the customer who originally received the coupon (seller-only).
No content