stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > SellingPlanGroupUserErrorCode

AdminTypes.SellingPlanGroupUserErrorCode enum

Possible error codes that can be returned by SellingPlanGroupUserError.

Signature:

export declare enum SellingPlanGroupUserErrorCode 

Enumeration Members

Member Value Description
BillingAndDeliveryPolicyTypesMustBeTheSame "BILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAME" Billing and delivery policy types must be the same.
BillingPolicyIntervalTooLarge "BILLING_POLICY_INTERVAL_TOO_LARGE" Billing policy’s interval is too large.
Blank "BLANK" The input value is blank.
CheckoutChargeValueAndTypeMustMatch "CHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCH" A fixed billing policy’s checkout charge value and type must match.
DeliveryPolicyIntervalTooLarge "DELIVERY_POLICY_INTERVAL_TOO_LARGE" Delivery policy’s interval is too large.
EqualTo "EQUAL_TO" The input value should be equal to the value allowed.
ErrorAddingResourceToGroup "ERROR_ADDING_RESOURCE_TO_GROUP" Could not add the resource to the selling plan group.
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.
FulfillmentExactTimeRequired "FULFILLMENT_EXACT_TIME_REQUIRED" A fixed billing policy’s fulfillment_exact_time can’t be blank when the fulfillment_trigger is EXACT_TIME.
GreaterThan "GREATER_THAN" The input value should be greater than the minimum allowed value.
GreaterThanOrEqualTo "GREATER_THAN_OR_EQUAL_TO" The input value should be greater than or equal to the minimum value allowed.
GroupCouldNotBeDeleted "GROUP_COULD_NOT_BE_DELETED" Selling plan group could not be deleted.
GroupDoesNotExist "GROUP_DOES_NOT_EXIST" Selling plan group does not exist.
Inclusion "INCLUSION" The input value isn’t included in the list.
Invalid "INVALID" The input value is invalid.
LessThan "LESS_THAN" The input value should be less than the maximum value allowed.
LessThanOrEqualTo "LESS_THAN_OR_EQUAL_TO" The input value should be less than or equal to the maximum value allowed.
NotANumber "NOT_A_NUMBER" The input value is not a number.
NotFound "NOT_FOUND" The record with the ID used as the input value couldn’t be found.
OnlyNeedOneBillingPolicyType "ONLY_NEED_ONE_BILLING_POLICY_TYPE" Only one billing policy type can be defined.
OnlyNeedOneCheckoutChargeValue "ONLY_NEED_ONE_CHECKOUT_CHARGE_VALUE" A fixed billing policy’s checkout charge can have at most one value.
OnlyNeedOneDeliveryPolicyType "ONLY_NEED_ONE_DELIVERY_POLICY_TYPE" Only one delivery policy type can be defined.
OnlyNeedOnePricingPolicyType "ONLY_NEED_ONE_PRICING_POLICY_TYPE" Only one pricing policy type can be defined.
OnlyNeedOnePricingPolicyValue "ONLY_NEED_ONE_PRICING_POLICY_VALUE" Only one pricing policy adjustment value type can be defined.
OnlyOneOfFixedOrRecurringBilling "ONLY_ONE_OF_FIXED_OR_RECURRING_BILLING" A selling plan can’t have both fixed and recurring billing policies.
OnlyOneOfFixedOrRecurringDelivery "ONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERY" A selling plan can’t have both fixed and recurring delivery policies.
PlanDoesNotExist "PLAN_DOES_NOT_EXIST" Selling plan does not exist.
PlanIdMustBeSpecifiedToUpdate "PLAN_ID_MUST_BE_SPECIFIED_TO_UPDATE" Selling plan ID must be specified to update.
Present "PRESENT" The input value needs to be blank.
PricingPolicyAdjustmentValueAndTypeMustMatch "PRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCH" Pricing policy’s adjustment value and adjustment type must match.
ProductDoesNotExist "PRODUCT_DOES_NOT_EXIST" Product does not exist.
ProductVariantDoesNotExist "PRODUCT_VARIANT_DOES_NOT_EXIST" Product variant does not exist.
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.
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.
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.
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.
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.
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.
ResourceListContainsInvalidIds "RESOURCE_LIST_CONTAINS_INVALID_IDS" The selling plan list provided contains 1 or more invalid IDs.
SellingPlanAnchorsNotAllowed "SELLING_PLAN_ANCHORS_NOT_ALLOWED" A fixed delivery policy’s anchors must not be present when the fulfillment_trigger isn’t ANCHOR.
SellingPlanAnchorsRequired "SELLING_PLAN_ANCHORS_REQUIRED" A fixed delivery policy’s anchors must be present when the fulfillment_trigger is ANCHOR.
SellingPlanBillingAndDeliveryPolicyAnchorsMustBeEqual "SELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUAL" Selling plan’s billing and delivery policies anchors must be equal.
SellingPlanBillingCycleMustBeAMultipleOfDeliveryCycle "SELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLE" Selling plan’s billing cycle must be a multiple of delivery cycle.
SellingPlanBillingPolicyMissing "SELLING_PLAN_BILLING_POLICY_MISSING" Missing billing policy.
SellingPlanCountLowerBound "SELLING_PLAN_COUNT_LOWER_BOUND" Must include at least one selling plan.
SellingPlanCountUpperBound "SELLING_PLAN_COUNT_UPPER_BOUND" Exceeded the selling plan limit (31).
SellingPlanDeliveryPolicyMissing "SELLING_PLAN_DELIVERY_POLICY_MISSING" Missing delivery policy.
SellingPlanDuplicateName "SELLING_PLAN_DUPLICATE_NAME" Cannot have multiple selling plans with the same name.
SellingPlanDuplicateOptions "SELLING_PLAN_DUPLICATE_OPTIONS" Cannot have multiple selling plans with the same options.
SellingPlanFixedPricingPoliciesLimit "SELLING_PLAN_FIXED_PRICING_POLICIES_LIMIT" A fixed selling plan can have at most one pricing policy.
SellingPlanMaxCyclesMustBeGreaterThanMinCycles "SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES" Selling plan’s billing policy max cycles must be greater than min cycles.
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.
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.
SellingPlanOption2RequiredAsDefinedOnParentGroup "SELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUP" Selling plan’s option2 is required because option2 exists.
SellingPlanOption3RequiredAsDefinedOnParentGroup "SELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUP" Selling plan’s option3 is required because option3 exists.
SellingPlanPricingPoliciesLimit "SELLING_PLAN_PRICING_POLICIES_LIMIT" Selling plans can’t have more than 2 pricing policies.
SellingPlanPricingPoliciesMustContainAFixedPricingPolicy "SELLING_PLAN_PRICING_POLICIES_MUST_CONTAIN_A_FIXED_PRICING_POLICY" Selling plan’s pricing policies must contain one fixed pricing policy.
Taken "TAKEN" The input value is already taken.
TooBig "TOO_BIG" The input value is too big.
TooLong "TOO_LONG" The input value is too long.
TooShort "TOO_SHORT" The input value is too short.
WrongLength "WRONG_LENGTH" The input value is the wrong length.