Skip to main content

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

The promotion offers a money discount.

percent_off

The promotion offers a percent discount.

buy_m_get_n_money_off

The promotion offers a money discount when you buy a certain number of items.

buy_m_get_percent_off

The promotion offers a percent discount when you buy a certain number of items.

buy_m_get_money_off

The promotion offers a money discount when you buy a certain number of items.

free_gift

The promotion offers a free gift.

free_gift_with_value

The promotion offers a free gift with a given value.

free_gift_with_item_id

The promotion offers a free gift if certain item is purchased.

free_shipping_standard

Part of google promotion standard, currently not supported by Prisjakt. Will be mapped to other promotion type, use the description field for details to your customers.

free_shipping_overnight

Part of google promotion standard, currently not supported by Prisjakt. Will be mapped to other promotion type, use the description field for details to your customers.

free_shipping_two_day

Part of google promotion standard, currently not supported by Prisjakt. Will be mapped to other promotion type, use the description field for details to your customers.

free_shipping_with_shipping_config

Part of google promotion standard, currently not supported by Prisjakt. Will be mapped to other promotion type, use the description field for details to your customers.

cheapest_quantity_free

The promotion offers discounts based on volume.

no_structured_data

Indicates you are not submitting any of the promotion benefit types listed below.

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
validation_invalid_enum
<g:coupon_value_type>uknown_value</g:coupon_value_type>

Properties

PropertyValueDescription
Data TypeenumClosest data type in code
NestedFalseDefines if this field consists of one or more sub-fields
Case SensitiveFalseIf small or large letters matter for this field
RepeatableFalseIf you can supply multiple items of this field (it´s a list)
Repeatable limit0If a list, this specifices the max number of items

Changelog

📅 2023-12-11

Added

Initial definition

References