| coupon_code | string The unique coupon code for this coupon |
| coupon_type | string The type of coupon code (price, percentage, shipping, free-item, bogo-price, bogo-percentage) |
| coupon_discount | number The total discount. |
| no_filters | boolean If set, this overrides any selection of manufacturer, category, or product. |
| manufacturer_id | integer Limit to a manufacturer, you may only set manufacturer, category, or product; not a combination. |
| category_id | integer Limit to a category, you may only set manufacturer, category, or product; not a combination. |
| product_id | integer Limit to a product, you may only set manufacturer, category, or product; not a combination. |
| apply_coupon_to_shipping | boolean Should this coupon apply to the shipping amount. |
| coupon_message | string Message to customer on successful redemption. |
| max_redemptions | string Max number of times (overall) that a coupon can be redeemed. Use a positive integer or unlimited. |
| min_required | number Minimum items required in the cart for coupon to apply. |
| times_redeemed | number Number of times this coupon has been redeemed. |
| expiration_date | string Date the coupon will expire. |
| subscription_coupon_duration_type | string The type way the coupon applies to a subscription product (forever, once, repeating). |
| subscription_coupon_duration_times | integer The number of times, if limited, to apply a coupon to a subscription. |
{- "coupon_code": "string",
- "coupon_type": "string",
- "coupon_discount": 0,
- "no_filters": true,
- "manufacturer_id": 0,
- "category_id": 0,
- "product_id": 0,
- "apply_coupon_to_shipping": true,
- "coupon_message": "string",
- "max_redemptions": "string",
- "min_required": 0,
- "times_redeemed": 0,
- "expiration_date": "string",
- "subscription_coupon_duration_type": "string",
- "subscription_coupon_duration_times": 0
}This allows you to get a list of coupons
Successful operation
Unauthorized
[- {
- "coupon_code": "string",
- "coupon_type": "string",
- "coupon_discount": 0,
- "no_filters": true,
- "manufacturer_id": 0,
- "category_id": 0,
- "product_id": 0,
- "apply_coupon_to_shipping": true,
- "coupon_message": "string",
- "max_redemptions": "string",
- "min_required": 0,
- "times_redeemed": 0,
- "expiration_date": "string",
- "subscription_coupon_duration_type": "string",
- "subscription_coupon_duration_times": 0
}
]This allows you to add a new coupon
Submit any or all elements to add a new coupon.
Successful operation
Unauthorized
{- "coupon_code": "string",
- "coupon_type": "string",
- "coupon_discount": 0,
- "no_filter": true,
- "manufacturer_id": 0,
- "category_id": 0,
- "product_id": 0,
- "apply_coupon_to_shipping": true,
- "coupon_message": "string",
- "times_redeemed": 0,
- "max_redemptions": "string",
- "min_required": 0,
- "expiration_date": "string",
- "subscription_coupon_duration_type": "string",
- "subscription_coupon_duration_times": 0
}{- "coupon_code": "string",
- "coupon_type": "string",
- "coupon_discount": 0,
- "no_filters": true,
- "manufacturer_id": 0,
- "category_id": 0,
- "product_id": 0,
- "apply_coupon_to_shipping": true,
- "coupon_message": "string",
- "max_redemptions": "string",
- "min_required": 0,
- "times_redeemed": 0,
- "expiration_date": "string",
- "subscription_coupon_duration_type": "string",
- "subscription_coupon_duration_times": 0
}This allows you to get a coupon from your store by coupon code
Successful operation
Unauthorized
{- "coupon_code": "string",
- "coupon_type": "string",
- "coupon_discount": 0,
- "no_filters": true,
- "manufacturer_id": 0,
- "category_id": 0,
- "product_id": 0,
- "apply_coupon_to_shipping": true,
- "coupon_message": "string",
- "max_redemptions": "string",
- "min_required": 0,
- "times_redeemed": 0,
- "expiration_date": "string",
- "subscription_coupon_duration_type": "string",
- "subscription_coupon_duration_times": 0
}This allows you to update a coupon
Submit any or all elements to update the coupon.
Successful operation
Unauthorized
{- "coupon_code": "string",
- "coupon_type": "string",
- "coupon_discount": 0,
- "no_filter": true,
- "manufacturer_id": 0,
- "category_id": 0,
- "product_id": 0,
- "apply_coupon_to_shipping": true,
- "coupon_message": "string",
- "times_redeemed": 0,
- "max_redemptions": "string",
- "min_required": 0,
- "expiration_date": "string",
- "subscription_coupon_duration_type": "string",
- "subscription_coupon_duration_times": 0
}{- "coupon_code": "string",
- "coupon_type": "string",
- "coupon_discount": 0,
- "no_filters": true,
- "manufacturer_id": 0,
- "category_id": 0,
- "product_id": 0,
- "apply_coupon_to_shipping": true,
- "coupon_message": "string",
- "max_redemptions": "string",
- "min_required": 0,
- "times_redeemed": 0,
- "expiration_date": "string",
- "subscription_coupon_duration_type": "string",
- "subscription_coupon_duration_times": 0
}This allows you to delete a coupon from your store
Successful operation
Unauthorized
{- "coupon_code": "string",
- "coupon_type": "string",
- "coupon_discount": 0,
- "no_filters": true,
- "manufacturer_id": 0,
- "category_id": 0,
- "product_id": 0,
- "apply_coupon_to_shipping": true,
- "coupon_message": "string",
- "max_redemptions": "string",
- "min_required": 0,
- "times_redeemed": 0,
- "expiration_date": "string",
- "subscription_coupon_duration_type": "string",
- "subscription_coupon_duration_times": 0
}