Anchor to section titled 'undefined'

SellingPlanGroupUserErrorCode
enum

Possible error codes that can be returned by SellingPlanGroupUserError.


value-billinganddeliverypolicytypesmustbethesame
BILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAME

Billing and delivery policy types must be the same.

value-billingpolicyintervaltoolarge
BILLING_POLICY_INTERVAL_TOO_LARGE

Billing policy's interval is too large.

The input value is blank.

value-checkoutchargevalueandtypemustmatch
CHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCH

A fixed billing policy's checkout charge value and type must match.

value-deliverypolicyintervaltoolarge
DELIVERY_POLICY_INTERVAL_TOO_LARGE

Delivery policy's interval is too large.

The input value should be equal to the value allowed.

value-erroraddingresourcetogroup
ERROR_ADDING_RESOURCE_TO_GROUP

Could not add the resource to the selling plan group.

value-fulfillmentexacttimenotallowed
FULFILLMENT_EXACT_TIME_NOT_ALLOWED

A fixed billing policy's fulfillment_exact_time must not be present when the fulfillment_trigger isn't EXACT_TIME.

value-fulfillmentexacttimerequired
FULFILLMENT_EXACT_TIME_REQUIRED

A fixed billing policy's fulfillment_exact_time can't be blank when the fulfillment_trigger is EXACT_TIME.

value-greaterthan
GREATER_THAN

The input value should be greater than the minimum allowed value.

value-greaterthanorequalto
GREATER_THAN_OR_EQUAL_TO

The input value should be greater than or equal to the minimum value allowed.

value-groupcouldnotbedeleted
GROUP_COULD_NOT_BE_DELETED

Selling plan group could not be deleted.

value-groupdoesnotexist
GROUP_DOES_NOT_EXIST

Selling plan group does not exist.

The input value isn't included in the list.

The input value is invalid.

value-invalidinput
INVALID_INPUT

The input submitted is invalid.

The input value should be less than the maximum value allowed.

value-lessthanorequalto
LESS_THAN_OR_EQUAL_TO

The input value should be less than or equal to the maximum value allowed.

value-notanumber
NOT_A_NUMBER

The input value is not a number.

The record with the ID used as the input value couldn't be found.

value-onlyneedonebillingpolicytype
ONLY_NEED_ONE_BILLING_POLICY_TYPE

Only one billing policy type can be defined.

value-onlyneedonecheckoutchargevalue
ONLY_NEED_ONE_CHECKOUT_CHARGE_VALUE

A fixed billing policy's checkout charge can have at most one value.

value-onlyneedonedeliverypolicytype
ONLY_NEED_ONE_DELIVERY_POLICY_TYPE

Only one delivery policy type can be defined.

value-onlyneedonepricingpolicytype
ONLY_NEED_ONE_PRICING_POLICY_TYPE

Only one pricing policy type can be defined.

value-onlyneedonepricingpolicyvalue
ONLY_NEED_ONE_PRICING_POLICY_VALUE

Only one pricing policy adjustment value type can be defined.

value-onlyoneoffixedorrecurringbilling
ONLY_ONE_OF_FIXED_OR_RECURRING_BILLING

A selling plan can't have both fixed and recurring billing policies.

value-onlyoneoffixedorrecurringdelivery
ONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERY

A selling plan can't have both fixed and recurring delivery policies.

value-plandoesnotexist
PLAN_DOES_NOT_EXIST

Selling plan does not exist.

value-planidmustbespecifiedtoupdate
PLAN_ID_MUST_BE_SPECIFIED_TO_UPDATE

Selling plan ID must be specified to update.

The input value needs to be blank.

value-pricingpolicyadjustmentvalueandtypemustmatch
PRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCH

Pricing policy's adjustment value and adjustment type must match.

value-productdoesnotexist
PRODUCT_DOES_NOT_EXIST

Product does not exist.

value-productvariantdoesnotexist
PRODUCT_VARIANT_DOES_NOT_EXIST

Product variant does not exist.

value-remainingbalancechargeexacttimenotallowed
REMAINING_BALANCE_CHARGE_EXACT_TIME_NOT_ALLOWED

A fixed billing policy's remaining_balance_charge_exact_time must not be present when the remaining_balance_charge_trigger isn't EXACT_TIME.

value-remainingbalancechargeexacttimerequired
REMAINING_BALANCE_CHARGE_EXACT_TIME_REQUIRED

A fixed billing policy's remaining_balance_charge_exact_time can't be blank when the remaining_balance_charge_trigger is EXACT_TIME.

value-remainingbalancechargetimeaftercheckoutmustbegreaterthanzero
REMAINING_BALANCE_CHARGE_TIME_AFTER_CHECKOUT_MUST_BE_GREATER_THAN_ZERO

A fixed billing policy's remaining_balance_charge_time_after_checkout must be present and greater than zero when the remaining_balance_charge_trigger is TIME_AFTER_CHECKOUT.

value-remainingbalancechargetriggernoremainingbalanceonpartialpercentagecheckoutcharge
REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PARTIAL_PERCENTAGE_CHECKOUT_CHARGE

A fixed billing policy's remaining_balance_charge_trigger can't be NO_REMAINING_BALANCE when the checkout_charge_type is PERCENTAGE and checkout_charge_value is less than 100.

value-remainingbalancechargetriggernoremainingbalanceonpricecheckoutcharge
REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PRICE_CHECKOUT_CHARGE

A fixed billing policy's remaining_balance_charge_trigger can't be NO_REMAINING_BALANCE when the checkout_charge_type is PRICE.

value-remainingbalancechargetriggeronfullcheckout
REMAINING_BALANCE_CHARGE_TRIGGER_ON_FULL_CHECKOUT

A fixed billing policy's remaining_balance_charge_trigger must be NO_REMAINING_BALANCE when the checkout_charge_type is PERCENTAGE and checkout_charge_value is 100.

value-resourcelistcontainsinvalidids
RESOURCE_LIST_CONTAINS_INVALID_IDS

The selling plan list provided contains 1 or more invalid IDs.

value-sellingplananchorsnotallowed
SELLING_PLAN_ANCHORS_NOT_ALLOWED

A fixed delivery policy's anchors must not be present when the fulfillment_trigger isn't ANCHOR.

value-sellingplananchorsrequired
SELLING_PLAN_ANCHORS_REQUIRED

A fixed delivery policy's anchors must be present when the fulfillment_trigger is ANCHOR.

value-sellingplanbillinganddeliverypolicyanchorsmustbeequal
SELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUAL

Selling plan's billing and delivery policies anchors must be equal.

value-sellingplanbillingcyclemustbeamultipleofdeliverycycle
SELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLE

Selling plan's billing cycle must be a multiple of delivery cycle.

value-sellingplanbillingpolicymissing
SELLING_PLAN_BILLING_POLICY_MISSING

Missing billing policy.

value-sellingplancountlowerbound
SELLING_PLAN_COUNT_LOWER_BOUND

Must include at least one selling plan.

value-sellingplancountupperbound
SELLING_PLAN_COUNT_UPPER_BOUND

Exceeded the selling plan limit (31).

value-sellingplandeliverypolicymissing
SELLING_PLAN_DELIVERY_POLICY_MISSING

Missing delivery policy.

value-sellingplanduplicatename
SELLING_PLAN_DUPLICATE_NAME

Cannot have multiple selling plans with the same name.

value-sellingplanduplicateoptions
SELLING_PLAN_DUPLICATE_OPTIONS

Cannot have multiple selling plans with the same options.

value-sellingplanfixedpricingpolicieslimit
SELLING_PLAN_FIXED_PRICING_POLICIES_LIMIT

A fixed selling plan can have at most one pricing policy.

value-sellingplanmaxcyclesmustbegreaterthanmincycles
SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES

Selling plan's billing policy max cycles must be greater than min cycles.

value-sellingplanmissingoption2labelonparentgroup
SELLING_PLAN_MISSING_OPTION2_LABEL_ON_PARENT_GROUP

Cannot define option2 on this selling plan as there's no label on the parent selling plan group.

value-sellingplanmissingoption3labelonparentgroup
SELLING_PLAN_MISSING_OPTION3_LABEL_ON_PARENT_GROUP

Cannot define option3 on this selling plan as there's no label on the parent selling plan group.

value-sellingplanoption2requiredasdefinedonparentgroup
SELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUP

Selling plan's option2 is required because option2 exists.

value-sellingplanoption3requiredasdefinedonparentgroup
SELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUP

Selling plan's option3 is required because option3 exists.

value-sellingplanpricingpolicieslimit
SELLING_PLAN_PRICING_POLICIES_LIMIT

Selling plans can't have more than 2 pricing policies.

value-sellingplanpricingpoliciesmustcontainafixedpricingpolicy
SELLING_PLAN_PRICING_POLICIES_MUST_CONTAIN_A_FIXED_PRICING_POLICY

Selling plan's pricing policies must contain one fixed pricing policy.

The input value is already taken.

The input value is too big.

The input value is too long.

The input value is too short.

value-wronglength
WRONG_LENGTH

The input value is the wrong length.


Was this section helpful?

The error code.


Was this section helpful?
Map
SellingPlanGroupUserErrorCode