Skip to main content
Log inSign up
Anchor to SellingPlanGroupUserErrorCode

SellingPlanGroupUserErrorCode

enum

Possible error codes that can be returned by SellingPlanGroupUserError.

Anchor to BILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAMEBILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAME
•

Billing and delivery policy types must be the same.

Anchor to BILLING_POLICY_INTERVAL_TOO_LARGEBILLING_POLICY_INTERVAL_TOO_LARGE
•

Billing policy's interval is too large.

•

The input value is blank.

Anchor to CHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCHCHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCH
•

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

Anchor to DELIVERY_POLICY_INTERVAL_TOO_LARGEDELIVERY_POLICY_INTERVAL_TOO_LARGE
•

Delivery policy's interval is too large.

•

The input value should be equal to the value allowed.

Anchor to ERROR_ADDING_RESOURCE_TO_GROUPERROR_ADDING_RESOURCE_TO_GROUP
•

Could not add the resource to the selling plan group.

Anchor to FULFILLMENT_EXACT_TIME_NOT_ALLOWEDFULFILLMENT_EXACT_TIME_NOT_ALLOWED
•

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

Anchor to FULFILLMENT_EXACT_TIME_REQUIREDFULFILLMENT_EXACT_TIME_REQUIRED
•

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

•

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

Anchor to GREATER_THAN_OR_EQUAL_TOGREATER_THAN_OR_EQUAL_TO
•

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

Anchor to GROUP_COULD_NOT_BE_DELETEDGROUP_COULD_NOT_BE_DELETED
•

Selling plan group could not be deleted.

Anchor to GROUP_DOES_NOT_EXISTGROUP_DOES_NOT_EXIST
•

Selling plan group does not exist.

•

The input value isn't included in the list.

•

The input value is invalid.

•

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

Anchor to LESS_THAN_OR_EQUAL_TOLESS_THAN_OR_EQUAL_TO
•

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

•

The input value is not a number.

•

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

Anchor to ONLY_NEED_ONE_BILLING_POLICY_TYPEONLY_NEED_ONE_BILLING_POLICY_TYPE
•

Only one billing policy type can be defined.

Anchor to ONLY_NEED_ONE_CHECKOUT_CHARGE_VALUEONLY_NEED_ONE_CHECKOUT_CHARGE_VALUE
•

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

Anchor to ONLY_NEED_ONE_DELIVERY_POLICY_TYPEONLY_NEED_ONE_DELIVERY_POLICY_TYPE
•

Only one delivery policy type can be defined.

Anchor to ONLY_NEED_ONE_PRICING_POLICY_TYPEONLY_NEED_ONE_PRICING_POLICY_TYPE
•

Only one pricing policy type can be defined.

Anchor to ONLY_NEED_ONE_PRICING_POLICY_VALUEONLY_NEED_ONE_PRICING_POLICY_VALUE
•

Only one pricing policy adjustment value type can be defined.

Anchor to ONLY_ONE_OF_FIXED_OR_RECURRING_BILLINGONLY_ONE_OF_FIXED_OR_RECURRING_BILLING
•

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

Anchor to ONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERYONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERY
•

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

•

Selling plan does not exist.

Anchor to PLAN_ID_MUST_BE_SPECIFIED_TO_UPDATEPLAN_ID_MUST_BE_SPECIFIED_TO_UPDATE
•

Selling plan ID must be specified to update.

•

The input value needs to be blank.

Anchor to PRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCHPRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCH
•

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

Anchor to PRODUCT_DOES_NOT_EXISTPRODUCT_DOES_NOT_EXIST
•

Product does not exist.

Anchor to PRODUCT_VARIANT_DOES_NOT_EXISTPRODUCT_VARIANT_DOES_NOT_EXIST
•

Product variant does not exist.

Anchor to REMAINING_BALANCE_CHARGE_EXACT_TIME_NOT_ALLOWEDREMAINING_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.

Anchor to REMAINING_BALANCE_CHARGE_EXACT_TIME_REQUIREDREMAINING_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.

Anchor to REMAINING_BALANCE_CHARGE_TIME_AFTER_CHECKOUT_MUST_BE_GREATER_THAN_ZEROREMAINING_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.

Anchor to REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PARTIAL_PERCENTAGE_CHECKOUT_CHARGEREMAINING_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.

Anchor to REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PRICE_CHECKOUT_CHARGEREMAINING_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.

Anchor to REMAINING_BALANCE_CHARGE_TRIGGER_ON_FULL_CHECKOUTREMAINING_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.

Anchor to RESOURCE_LIST_CONTAINS_INVALID_IDSRESOURCE_LIST_CONTAINS_INVALID_IDS
•

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

Anchor to SELLING_PLAN_ANCHORS_NOT_ALLOWEDSELLING_PLAN_ANCHORS_NOT_ALLOWED
•

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

Anchor to SELLING_PLAN_ANCHORS_REQUIREDSELLING_PLAN_ANCHORS_REQUIRED
•

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

Anchor to SELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUALSELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUAL
•

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

Anchor to SELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLESELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLE
•

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

Anchor to SELLING_PLAN_BILLING_POLICY_MISSINGSELLING_PLAN_BILLING_POLICY_MISSING
•

Missing billing policy.

Anchor to SELLING_PLAN_COUNT_LOWER_BOUNDSELLING_PLAN_COUNT_LOWER_BOUND
•

Must include at least one selling plan.

Anchor to SELLING_PLAN_COUNT_UPPER_BOUNDSELLING_PLAN_COUNT_UPPER_BOUND
•

Exceeded the selling plan limit (31).

Anchor to SELLING_PLAN_DELIVERY_POLICY_MISSINGSELLING_PLAN_DELIVERY_POLICY_MISSING
•

Missing delivery policy.

Anchor to SELLING_PLAN_DUPLICATE_NAMESELLING_PLAN_DUPLICATE_NAME
•

Cannot have multiple selling plans with the same name.

Anchor to SELLING_PLAN_DUPLICATE_OPTIONSSELLING_PLAN_DUPLICATE_OPTIONS
•

Cannot have multiple selling plans with the same options.

Anchor to SELLING_PLAN_FIXED_PRICING_POLICIES_LIMITSELLING_PLAN_FIXED_PRICING_POLICIES_LIMIT
•

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

Anchor to SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLESSELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES
•

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

Anchor to SELLING_PLAN_MISSING_OPTION2_LABEL_ON_PARENT_GROUPSELLING_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.

Anchor to SELLING_PLAN_MISSING_OPTION3_LABEL_ON_PARENT_GROUPSELLING_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.

Anchor to SELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUPSELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUP
•

Selling plan's option2 is required because option2 exists.

Anchor to SELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUPSELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUP
•

Selling plan's option3 is required because option3 exists.

Anchor to SELLING_PLAN_PRICING_POLICIES_LIMITSELLING_PLAN_PRICING_POLICIES_LIMIT
•

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

Anchor to SELLING_PLAN_PRICING_POLICIES_MUST_CONTAIN_A_FIXED_PRICING_POLICYSELLING_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.

•

The input value is the wrong length.


Was this section helpful?


Was this section helpful?