affiliate_oid |
int |
Associates an order with an affiliate when this value is set. |
[optional] |
allow_multiple_one_time_codes |
bool |
True if multiple one time codes for this coupon can be used on a cart at the same time. |
[optional] |
amount_off_items |
\ultracart\v2\models\CouponAmountOffItems |
|
[optional] |
amount_off_shipping |
\ultracart\v2\models\CouponAmountOffShipping |
|
[optional] |
amount_off_shipping_with_items_purchase |
\ultracart\v2\models\CouponAmountOffShippingWithItemsPurchase |
|
[optional] |
amount_off_subtotal |
\ultracart\v2\models\CouponAmountOffSubtotal |
|
[optional] |
amount_off_subtotal_and_free_shipping |
\ultracart\v2\models\CouponAmountOffSubtotalFreeShippingWithPurchase |
|
[optional] |
amount_off_subtotal_and_shipping |
\ultracart\v2\models\CouponAmountOffSubtotalAndShipping |
|
[optional] |
amount_off_subtotal_with_block_purchase |
\ultracart\v2\models\CouponAmountOffSubtotalWithBlockPurchase |
|
[optional] |
amount_off_subtotal_with_items_purchase |
\ultracart\v2\models\CouponAmountOffSubtotalWithItemsPurchase |
|
[optional] |
amount_off_subtotal_with_purchase |
\ultracart\v2\models\CouponAmountOffSubtotalWithPurchase |
|
[optional] |
amount_shipping_with_subtotal |
\ultracart\v2\models\CouponAmountShippingWithSubtotal |
|
[optional] |
automatically_apply_coupon_codes |
\ultracart\v2\models\CouponAutomaticallyApplyCouponCodes |
|
[optional] |
buy_one_get_one |
\ultracart\v2\models\CouponBuyOneGetOneLimit |
|
[optional] |
calculated_description |
string |
Calculated description displayed to the customer if no description is specified. |
[optional] |
can_be_used_with_other_coupons |
bool |
True if this coupon can be used with other coupons in a single order. |
[optional] |
coupon_oid |
int |
Coupon oid. |
[optional] |
coupon_type |
string |
Coupon type. |
[optional] |
description |
string |
Description of the coupon up to 50 characters. |
[optional] |
discount_item_with_item_purchase |
\ultracart\v2\models\CouponDiscountItemWithItemPurchase |
|
[optional] |
discount_items |
\ultracart\v2\models\CouponDiscountItems |
|
[optional] |
expiration_dts |
string |
Date/time when coupon expires |
[optional] |
free_item_and_shipping_with_subtotal |
\ultracart\v2\models\CouponFreeItemAndShippingWithSubtotal |
|
[optional] |
free_item_with_item_purchase |
\ultracart\v2\models\CouponFreeItemWithItemPurchase |
|
[optional] |
free_item_with_item_purchase_and_free_shipping |
\ultracart\v2\models\CouponFreeItemWithItemPurchaseAndFreeShipping |
|
[optional] |
free_item_with_subtotal |
\ultracart\v2\models\CouponFreeItemWithSubtotal |
|
[optional] |
free_items_with_item_purchase |
\ultracart\v2\models\CouponFreeItemsWithItemPurchase |
|
[optional] |
free_items_with_mixmatch_purchase |
\ultracart\v2\models\CouponFreeItemsWithMixMatchPurchase |
|
[optional] |
free_shipping |
\ultracart\v2\models\CouponFreeShipping |
|
[optional] |
free_shipping_specific_items |
\ultracart\v2\models\CouponFreeShippingSpecificItems |
|
[optional] |
free_shipping_with_items_purchase |
\ultracart\v2\models\CouponFreeShippingWithItemsPurchase |
|
[optional] |
free_shipping_with_subtotal |
\ultracart\v2\models\CouponFreeShippingWithSubtotal |
|
[optional] |
hide_from_customer |
bool |
Hide coupon from customer during checkout. Often used when coupons are automatic discounting mechanisms. |
[optional] |
merchant_code |
string |
Merchant code of coupon up to 20 characters. |
[optional] |
merchant_notes |
string |
Internal notes about this coupon. These are not visible to customer. |
[optional] |
more_loyalty_cashback |
\ultracart\v2\models\CouponMoreLoyaltyCashback |
|
[optional] |
more_loyalty_points |
\ultracart\v2\models\CouponMoreLoyaltyPoints |
|
[optional] |
multiple_amounts_off_items |
\ultracart\v2\models\CouponMultipleAmountsOffItems |
|
[optional] |
no_discount |
\ultracart\v2\models\CouponNoDiscount |
|
[optional] |
percent_more_loyalty_cashback |
\ultracart\v2\models\CouponPercentMoreLoyaltyCashback |
|
[optional] |
percent_more_loyalty_points |
\ultracart\v2\models\CouponPercentMoreLoyaltyPoints |
|
[optional] |
percent_off_item_with_items_quantity_purchase |
\ultracart\v2\models\CouponPercentOffItemWithItemsQuantityPurchase |
|
[optional] |
percent_off_items |
\ultracart\v2\models\CouponPercentOffItems |
|
[optional] |
percent_off_items_and_free_shipping |
\ultracart\v2\models\CouponPercentOffItemsAndFreeShipping |
|
[optional] |
percent_off_items_with_items_purchase |
\ultracart\v2\models\CouponPercentOffItemsWithItemsPurchase |
|
[optional] |
percent_off_msrp_items |
\ultracart\v2\models\CouponPercentOffMsrpItems |
|
[optional] |
percent_off_retail_price_items |
\ultracart\v2\models\CouponPercentOffRetailPriceItems |
|
[optional] |
percent_off_shipping |
\ultracart\v2\models\CouponPercentOffShipping |
|
[optional] |
percent_off_subtotal |
\ultracart\v2\models\CouponPercentOffSubtotal |
|
[optional] |
percent_off_subtotal_and_free_shipping |
\ultracart\v2\models\CouponPercentOffSubtotalAndFreeShipping |
|
[optional] |
percent_off_subtotal_limit |
\ultracart\v2\models\CouponPercentOffSubtotalLimit |
|
[optional] |
percent_off_subtotal_with_items_purchase |
\ultracart\v2\models\CouponPercentOffSubtotalWithItemsPurchase |
|
[optional] |
percent_off_subtotal_with_subtotal |
\ultracart\v2\models\CouponPercentOffSubtotalWithSubtotal |
|
[optional] |
quickbooks_code |
string |
Quickbooks accounting code. |
[optional] |
restrict_by_postal_codes |
string[] |
Optional list of postal codes which restrict a coupon to within these postal codes. |
[optional] |
restrict_by_screen_branding_theme_codes |
\ultracart\v2\models\CouponRestriction[] |
Optional list of legacy screen branding theme codes to limit coupon use to only those themes. |
[optional] |
restrict_by_storefronts |
\ultracart\v2\models\CouponRestriction[] |
Optional list of storefronts to limit coupon use to only those storefronts. |
[optional] |
skip_on_rebill |
bool |
Skip this coupon when it is on a rebill of an auto order. |
[optional] |
start_dts |
string |
Date/time when coupon is valid |
[optional] |
super_coupon |
bool |
If true, this coupon can be used with ANY other coupon regardless of the other coupons configuration |
[optional] |
tiered_amount_off_items |
\ultracart\v2\models\CouponTieredAmountOffItems |
|
[optional] |
tiered_amount_off_subtotal |
\ultracart\v2\models\CouponTieredAmountOffSubtotal |
|
[optional] |
tiered_percent_off_items |
\ultracart\v2\models\CouponTieredPercentOffItems |
|
[optional] |
tiered_percent_off_shipping |
\ultracart\v2\models\CouponTieredPercentOffShipping |
|
[optional] |
tiered_percent_off_subtotal |
\ultracart\v2\models\CouponTieredPercentOffSubtotal |
|
[optional] |
tiered_percent_off_subtotal_based_on_msrp |
\ultracart\v2\models\CouponTieredPercentOffSubtotalBasedOnMSRP |
|
[optional] |
usable_by |
string |
Who may use this coupon. |
[optional] |