SubscriptionDraftErrorCode
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to ALREADY_REMOVEDALREADY_REMOVED•
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.
- Anchor to BLANKBLANK•
The input value is blank.
- Anchor to COMMITTEDCOMMITTED•
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.
- Anchor to CUSTOMER_MISMATCHCUSTOMER_MISMATCH•
The payment method customer must be the same as the contract customer.
- Anchor to CUSTOMER_REDACTEDCUSTOMER_REDACTED•
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.
- Anchor to GREATER_THANGREATER_THAN•
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 HAS_FUTURE_EDITSHAS_FUTURE_EDITS•
Cannot update a subscription contract with a current or upcoming billing cycle contract edit.
- Anchor to INVALIDINVALID•
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.
- Anchor to INVALID_LINESINVALID_LINES•
Must have at least one line.
- Anchor to INVALID_NOTE_LENGTHINVALID_NOTE_LENGTH•
Note length is too long.
- Anchor to LESS_THANLESS_THAN•
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_LOCAL_DELIVERY_OPTIONSMISSING_LOCAL_DELIVERY_OPTIONS•
The local delivery options must be set for local delivery.
- Anchor to NO_ENTITLED_LINESNO_ENTITLED_LINES•
Discount must have at least one entitled line.
- Anchor to NOT_AN_INTEGERNOT_AN_INTEGER•
The value is not an integer.
- Anchor to NOT_IN_RANGENOT_IN_RANGE•
Value is not in range.
- Anchor to PRESENCEPRESENCE•
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.
- Anchor to STALE_CONTRACTSTALE_CONTRACT•
Another operation updated the contract concurrently as the commit was in progress.
- Anchor to TOO_LONGTOO_LONG•
The input value is too long.
- Anchor to TOO_SHORTTOO_SHORT•
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.