Cart Coupon object specification for the Cratejoy Merchant API
Properties
Property | Filter | Edit | Type | Description |
---|---|---|---|---|
id | INT | Unique identifier for the cart_coupon object. | ||
coupon_id | INT | The id for the coupon. | ||
cart_id | INT | Unique Identifier of the cart object to which this cart_coupon is attached. (Will be NULL for renewal orders.) | ||
order_id | INT | Unique Identifier of the order object to which this cart_coupon is attached. (Will be NULL for uncompleted carts.) | ||
code_used | STRING | The specific coupon code used to add ther coupon | ||
code_primary | STRING | The primary code for the coupon. | ||
name | STRING | The name of the coupon | ||
num_renewals | INT | How many times the coupon has been applied. | ||
subscription_coupon_id | INT | Unique identifier for the subscription_coupon object. (Will be NULL in some cases.) |
italics - readonly property; bold - may be used to filter collections