coupon_value_type
Required Field
This field is required and must not be omitted
Description
Defines type of the promotion
Allowed Enum Values
money_off
percent_off
buy_m_get_n_money_off
buy_m_get_percent_off
buy_m_get_money_off
free_gift
free_gift_with_value
free_gift_with_item_id
free_shipping_standard
free_shipping_overnight
free_shipping_two_day
free_shipping_with_shipping_config
cheapest_quantity_free
no_structured_data
Validation Rules
- Value must be one of the allowed enum values
Example Values
Here are examples of how a valid coupon_value_type value should look like in XML.
Valid Value
<g:coupon_value_type>buy_m_get_money_off</g:coupon_value_type>
Click to show more valid XML examples
<g:coupon_value_type>buy_m_get_money_off</g:coupon_value_type>
<g:coupon_value_type>buy_m_get_n_money_off</g:coupon_value_type>
<g:coupon_value_type>buy_m_get_percent_off</g:coupon_value_type>
<g:coupon_value_type>cheapest_quantity_free</g:coupon_value_type>
<g:coupon_value_type>free_gift</g:coupon_value_type>
<g:coupon_value_type>free_gift_with_item_id</g:coupon_value_type>
<g:coupon_value_type>free_gift_with_value</g:coupon_value_type>
<g:coupon_value_type>free_shipping_overnight</g:coupon_value_type>
<g:coupon_value_type>free_shipping_standard</g:coupon_value_type>
<g:coupon_value_type>free_shipping_two_day</g:coupon_value_type>
<g:coupon_value_type>free_shipping_with_shipping_config</g:coupon_value_type>
<g:coupon_value_type>money_off</g:coupon_value_type>
<g:coupon_value_type>no_structured_data</g:coupon_value_type>
<g:coupon_value_type>percent_off</g:coupon_value_type>
Error Codes
Below you will find possible error codes generated when validating this field alongside with an example in XML and CSV that would trigger the code. Please refer to the validation rules to understand the cause.
danger
Properties
Property | Value | Description |
---|---|---|
Data Type | enum | Closest data type in code |
Nested | False | Defines if this field consists of one or more sub-fields |
Case Sensitive | False | If small or large letters matter for this field |
Repeatable | False | If you can supply multiple items of this field (it´s a list) |
Repeatable limit | 0 | If a list, this specifices the max number of items |
Changelog
📅 2023-12-11
Added
Initial definition