Skip to main content
Anchor to SubscriptionDraftErrorCode

SubscriptionDraftErrorCode

enum

Possible error codes that can be returned by SubscriptionDraftUserError.

This line has already been removed.

Anchor to BILLING_CYCLE_ABSENTBILLING_CYCLE_ABSENT

Cannot commit a contract draft with this mutation. Please use SubscriptionDraftCommit.

Anchor to BILLING_CYCLE_CONTRACT_DRAFT_BILLING_POLICY_INVALIDBILLING_CYCLE_CONTRACT_DRAFT_BILLING_POLICY_INVALID

Billing policy cannot be updated for billing cycle contract drafts.

Anchor to BILLING_CYCLE_CONTRACT_DRAFT_DELIVERY_POLICY_INVALIDBILLING_CYCLE_CONTRACT_DRAFT_DELIVERY_POLICY_INVALID

Delivery policy cannot be updated for billing cycle contract drafts.

Anchor to BILLING_CYCLE_PRESENTBILLING_CYCLE_PRESENT

Cannot commit a billing cycle contract draft with this mutation. Please use SubscriptionBillingCycleContractDraftCommit.

The input value is blank.

Subscription draft has been already committed.

Anchor to CONCATENATION_BILLING_CYCLE_CONTRACT_DRAFT_REQUIREDCONCATENATION_BILLING_CYCLE_CONTRACT_DRAFT_REQUIRED

Contract draft must be a billing cycle contract draft for contract concatenation.

Anchor to CONCATENATION_UNCOMMITTED_CONTRACT_DRAFTCONCATENATION_UNCOMMITTED_CONTRACT_DRAFT

Cannot concatenate a contract draft from subscriptionContractCreate mutation.

Anchor to CURRENCY_NOT_ENABLEDCURRENCY_NOT_ENABLED

Currency is not enabled.

Anchor to CUSTOMER_DOES_NOT_EXISTCUSTOMER_DOES_NOT_EXIST

The customer doesn't exist.

The payment method customer must be the same as the contract customer.

Customer is scheduled for redaction or has been redacted.

Anchor to CYCLE_DISCOUNTS_UNIQUE_AFTER_CYCLECYCLE_DISCOUNTS_UNIQUE_AFTER_CYCLE

The after cycle attribute must be unique between cycle discounts.

Anchor to CYCLE_INDEX_OUT_OF_RANGECYCLE_INDEX_OUT_OF_RANGE

Billing cycle selector cannot select billing cycle outside of index range.

Anchor to CYCLE_SELECTOR_VALIDATE_ONE_OFCYCLE_SELECTOR_VALIDATE_ONE_OF

Billing cycle selector requires exactly one of index or date to be provided.

Anchor to CYCLE_START_DATE_OUT_OF_RANGECYCLE_START_DATE_OUT_OF_RANGE

Billing cycle selector cannot select billing cycle outside of start date range.

Anchor to DELIVERY_METHOD_REQUIREDDELIVERY_METHOD_REQUIRED

The delivery method can't be blank if any lines require shipping.

Anchor to DELIVERY_MUST_BE_MULTIPLE_OF_BILLINGDELIVERY_MUST_BE_MULTIPLE_OF_BILLING

The delivery policy interval must be a multiple of the billing policy interval.

Anchor to DUPLICATE_CONCATENATED_CONTRACTSDUPLICATE_CONCATENATED_CONTRACTS

Concatenated contracts cannot contain duplicate subscription contracts.

Anchor to EXCEEDED_MAX_CONCATENATED_CONTRACTSEXCEEDED_MAX_CONCATENATED_CONTRACTS

Maximum number of concatenated contracts on a billing cycle contract draft exceeded.

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.

Cannot update a subscription contract with a current or upcoming billing cycle contract edit.

The input value is invalid.

Anchor to INVALID_ADJUSTMENT_TYPEINVALID_ADJUSTMENT_TYPE

The adjustment value must the same type as the adjustment type.

Anchor to INVALID_ADJUSTMENT_VALUEINVALID_ADJUSTMENT_VALUE

The adjustment value must be either fixed_value or percentage.

Anchor to INVALID_BILLING_DATEINVALID_BILLING_DATE

Next billing date is invalid.

Must have at least one line.

Note length is too long.

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.

Anchor to MISSING_CUSTOMER_PAYMENT_METHODMISSING_CUSTOMER_PAYMENT_METHOD

Customer payment method is required.

Anchor to MISSING_LOCAL_DELIVERY_OPTIONSMISSING_LOCAL_DELIVERY_OPTIONS

The local delivery options must be set for local delivery.

Discount must have at least one entitled line.

The value is not an integer.

Value is not in range.

Input value is not present.

Anchor to SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLESSELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES

The maximum number of cycles must be greater than the minimum.

Another operation updated the contract concurrently as the commit was in progress.

The input value is too long.

The input value is too short.

Anchor to UPCOMING_CYCLE_LIMIT_EXCEEDEDUPCOMING_CYCLE_LIMIT_EXCEEDED

Billing cycle selector cannot select upcoming billing cycle past limit.


Was this section helpful?


Was this section helpful?