CheckoutErrorCode enum

Possible error codes that could be returned by a checkout mutation.

Values

UNABLE_TO_APPLY

Unable to apply discount.

BAD_DOMAIN

Input email contains an invalid domain name.

BLANK

Input value is blank.

CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE

Cart does not meet discount requirements notice.

CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE

Customer already used once per customer discount notice.

DISCOUNT_DISABLED

Discount disabled.

DISCOUNT_EXPIRED

Discount expired.

DISCOUNT_LIMIT_REACHED

Discount limit reached.

DISCOUNT_NOT_FOUND

Discount not found.

EMPTY

Checkout is already completed.

GIFT_CARD_ALREADY_APPLIED

Gift card has already been applied.

GIFT_CARD_CODE_INVALID

Gift card code is invalid.

GIFT_CARD_CURRENCY_MISMATCH

Gift card currency does not match checkout currency.

GIFT_CARD_DEPLETED

Gift card has no funds left.

GIFT_CARD_DISABLED

Gift card is disabled.

GIFT_CARD_EXPIRED

Gift card is expired.

GIFT_CARD_NOT_FOUND

Gift card was not found.

GIFT_CARD_UNUSABLE

Gift card cannot be applied to a checkout that contains a gift card.

GREATER_THAN_OR_EQUAL_TO

Input value should be greater than or equal to minimum allowed value.

INVALID

Input value is invalid.

INVALID_FOR_COUNTRY

Input Zip is invalid for country provided.

INVALID_FOR_COUNTRY_AND_PROVINCE

Input Zip is invalid for country and province provided.

INVALID_PROVINCE_IN_COUNTRY

Invalid province in country.

INVALID_REGION_IN_COUNTRY

Invalid region in country.

INVALID_STATE_IN_COUNTRY

Invalid state in country.

LESS_THAN

Input value should be less than maximum allowed value.

LESS_THAN_OR_EQUAL_TO

Input value should be less or equal to maximum allowed value.

LINE_ITEM_NOT_FOUND

Line item was not found in checkout.

LOCKED

Checkout is locked.

MISSING_PAYMENT_INPUT

Missing payment input.

NOT_ENOUGH_IN_STOCK

Not enough in stock.

NOT_SUPPORTED

Input value is not supported.

PRESENT

Input value is not present.

SHIPPING_RATE_EXPIRED

Shipping rate expired.

TOO_LONG

Input value is too long.

TOTAL_PRICE_MISMATCH

The amount of the payment does not match the value to be paid.

ALREADY_COMPLETED

Checkout is already completed.

Types that return CheckoutErrorCode

Possible error codes that could be returned by a checkout mutation.

Values

TOTAL_PRICE_MISMATCH

The amount of the payment does not match the value to be paid.

BAD_DOMAIN

Input email contains an invalid domain name.

BLANK

Input value is blank.

CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE

Cart does not meet discount requirements notice.

CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE

Customer already used once per customer discount notice.

DISCOUNT_DISABLED

Discount disabled.

DISCOUNT_EXPIRED

Discount expired.

DISCOUNT_LIMIT_REACHED

Discount limit reached.

DISCOUNT_NOT_FOUND

Discount not found.

EMPTY

Checkout is already completed.

GIFT_CARD_ALREADY_APPLIED

Gift card has already been applied.

GIFT_CARD_CODE_INVALID

Gift card code is invalid.

GIFT_CARD_CURRENCY_MISMATCH

Gift card currency does not match checkout currency.

GIFT_CARD_DEPLETED

Gift card has no funds left.

GIFT_CARD_DISABLED

Gift card is disabled.

GIFT_CARD_EXPIRED

Gift card is expired.

GIFT_CARD_NOT_FOUND

Gift card was not found.

GIFT_CARD_UNUSABLE

Gift card cannot be applied to a checkout that contains a gift card.

GREATER_THAN_OR_EQUAL_TO

Input value should be greater than or equal to minimum allowed value.

INVALID

Input value is invalid.

INVALID_FOR_COUNTRY

Input Zip is invalid for country provided.

INVALID_FOR_COUNTRY_AND_PROVINCE

Input Zip is invalid for country and province provided.

INVALID_PROVINCE_IN_COUNTRY

Invalid province in country.

INVALID_REGION_IN_COUNTRY

Invalid region in country.

INVALID_STATE_IN_COUNTRY

Invalid state in country.

LESS_THAN

Input value should be less than maximum allowed value.

LESS_THAN_OR_EQUAL_TO

Input value should be less or equal to maximum allowed value.

LINE_ITEM_NOT_FOUND

Line item was not found in checkout.

LOCKED

Checkout is locked.

MISSING_PAYMENT_INPUT

Missing payment input.

NOT_ENOUGH_IN_STOCK

Not enough in stock.

NOT_SUPPORTED

Input value is not supported.

PRESENT

Input value is not present.

SHIPPING_RATE_EXPIRED

Shipping rate expired.

TOO_LONG

Input value is too long.

ALREADY_COMPLETED

Checkout is already completed.

Types that return CheckoutErrorCode

Possible error codes that could be returned by a checkout mutation.

Values

TOTAL_PRICE_MISMATCH

The amount of the payment does not match the value to be paid.

BAD_DOMAIN

Input email contains an invalid domain name.

BLANK

Input value is blank.

CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE

Cart does not meet discount requirements notice.

CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE

Customer already used once per customer discount notice.

DISCOUNT_DISABLED

Discount disabled.

DISCOUNT_EXPIRED

Discount expired.

DISCOUNT_LIMIT_REACHED

Discount limit reached.

DISCOUNT_NOT_FOUND

Discount not found.

EMPTY

Checkout is already completed.

GIFT_CARD_ALREADY_APPLIED

Gift card has already been applied.

GIFT_CARD_CODE_INVALID

Gift card code is invalid.

GIFT_CARD_CURRENCY_MISMATCH

Gift card currency does not match checkout currency.

GIFT_CARD_DEPLETED

Gift card has no funds left.

GIFT_CARD_DISABLED

Gift card is disabled.

GIFT_CARD_EXPIRED

Gift card is expired.

GIFT_CARD_NOT_FOUND

Gift card was not found.

GIFT_CARD_UNUSABLE

Gift card cannot be applied to a checkout that contains a gift card.

GREATER_THAN_OR_EQUAL_TO

Input value should be greater than or equal to minimum allowed value.

INVALID

Input value is invalid.

INVALID_FOR_COUNTRY

Input Zip is invalid for country provided.

INVALID_FOR_COUNTRY_AND_PROVINCE

Input Zip is invalid for country and province provided.

INVALID_PROVINCE_IN_COUNTRY

Invalid province in country.

INVALID_REGION_IN_COUNTRY

Invalid region in country.

INVALID_STATE_IN_COUNTRY

Invalid state in country.

LESS_THAN

Input value should be less than maximum allowed value.

LESS_THAN_OR_EQUAL_TO

Input value should be less or equal to maximum allowed value.

LINE_ITEM_NOT_FOUND

Line item was not found in checkout.

LOCKED

Checkout is locked.

MISSING_PAYMENT_INPUT

Missing payment input.

NOT_ENOUGH_IN_STOCK

Not enough in stock.

NOT_SUPPORTED

Input value is not supported.

PRESENT

Input value is not present.

SHIPPING_RATE_EXPIRED

Shipping rate expired.

TOO_LONG

Input value is too long.

ALREADY_COMPLETED

Checkout is already completed.

Types that return CheckoutErrorCode

Sign up for a Partner account to get started.

Sign up