CheckoutErrorCode

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

Show definition
"""
Possible error codes that could be returned by a checkout mutation.
"""
enum CheckoutErrorCode {
  """
  Checkout is already completed.
  """
  ALREADY_COMPLETED
  """
  Input email contains an invalid domain name.
  """
  BAD_DOMAIN
  """
  Input value is blank.
  """
  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
  """
  Checkout is already completed.
  """
  EMPTY
  """
  Gift card has already been applied.
  """
  GIFT_CARD_ALREADY_APPLIED
  """
  Gift card code is invalid.
  """
  GIFT_CARD_CODE_INVALID
  """
  Gift card currency does not match checkout currency.
  """
  GIFT_CARD_CURRENCY_MISMATCH
  """
  Gift card has no funds left.
  """
  GIFT_CARD_DEPLETED
  """
  Gift card is disabled.
  """
  GIFT_CARD_DISABLED
  """
  Gift card is expired.
  """
  GIFT_CARD_EXPIRED
  """
  Gift card was not found.
  """
  GIFT_CARD_NOT_FOUND
  """
  Gift card cannot be applied to a checkout that contains a gift card.
  """
  GIFT_CARD_UNUSABLE
  """
  Input value should be greater than or equal to minimum allowed value.
  """
  GREATER_THAN_OR_EQUAL_TO
  """
  Input value is invalid.
  """
  INVALID
  """
  Input Zip is invalid for country provided.
  """
  INVALID_FOR_COUNTRY
  """
  Input Zip is invalid for country and province provided.
  """
  INVALID_FOR_COUNTRY_AND_PROVINCE
  """
  Invalid province in country.
  """
  INVALID_PROVINCE_IN_COUNTRY
  """
  Invalid region in country.
  """
  INVALID_REGION_IN_COUNTRY
  """
  Invalid state in country.
  """
  INVALID_STATE_IN_COUNTRY
  """
  Input value should be less than maximum allowed value.
  """
  LESS_THAN
  """
  Input value should be less or equal to maximum allowed value.
  """
  LESS_THAN_OR_EQUAL_TO
  """
  Line item was not found in checkout.
  """
  LINE_ITEM_NOT_FOUND
  """
  Checkout is locked.
  """
  LOCKED
  """
  Missing payment input.
  """
  MISSING_PAYMENT_INPUT
  """
  Not enough in stock.
  """
  NOT_ENOUGH_IN_STOCK
  """
  Input value is not supported.
  """
  NOT_SUPPORTED
  """
  Input value is not present.
  """
  PRESENT
  """
  Shipping rate expired.
  """
  SHIPPING_RATE_EXPIRED
  """
  Input value is too long.
  """
  TOO_LONG
  """
  The amount of the payment does not match the value to be paid.
  """
  TOTAL_PRICE_MISMATCH
}

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.

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

Show definition
"""
Possible error codes that could be returned by a checkout mutation.
"""
enum CheckoutErrorCode {
  """
  Checkout is already completed.
  """
  ALREADY_COMPLETED
  """
  Input email contains an invalid domain name.
  """
  BAD_DOMAIN
  """
  Input value is blank.
  """
  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
  """
  Checkout is already completed.
  """
  EMPTY
  """
  Gift card has already been applied.
  """
  GIFT_CARD_ALREADY_APPLIED
  """
  Gift card code is invalid.
  """
  GIFT_CARD_CODE_INVALID
  """
  Gift card currency does not match checkout currency.
  """
  GIFT_CARD_CURRENCY_MISMATCH
  """
  Gift card has no funds left.
  """
  GIFT_CARD_DEPLETED
  """
  Gift card is disabled.
  """
  GIFT_CARD_DISABLED
  """
  Gift card is expired.
  """
  GIFT_CARD_EXPIRED
  """
  Gift card was not found.
  """
  GIFT_CARD_NOT_FOUND
  """
  Gift card cannot be applied to a checkout that contains a gift card.
  """
  GIFT_CARD_UNUSABLE
  """
  Input value should be greater than or equal to minimum allowed value.
  """
  GREATER_THAN_OR_EQUAL_TO
  """
  Input value is invalid.
  """
  INVALID
  """
  Input Zip is invalid for country provided.
  """
  INVALID_FOR_COUNTRY
  """
  Input Zip is invalid for country and province provided.
  """
  INVALID_FOR_COUNTRY_AND_PROVINCE
  """
  Invalid province in country.
  """
  INVALID_PROVINCE_IN_COUNTRY
  """
  Invalid region in country.
  """
  INVALID_REGION_IN_COUNTRY
  """
  Invalid state in country.
  """
  INVALID_STATE_IN_COUNTRY
  """
  Input value should be less than maximum allowed value.
  """
  LESS_THAN
  """
  Input value should be less or equal to maximum allowed value.
  """
  LESS_THAN_OR_EQUAL_TO
  """
  Line item was not found in checkout.
  """
  LINE_ITEM_NOT_FOUND
  """
  Checkout is locked.
  """
  LOCKED
  """
  Missing payment input.
  """
  MISSING_PAYMENT_INPUT
  """
  Not enough in stock.
  """
  NOT_ENOUGH_IN_STOCK
  """
  Input value is not supported.
  """
  NOT_SUPPORTED
  """
  Input value is not present.
  """
  PRESENT
  """
  Shipping rate expired.
  """
  SHIPPING_RATE_EXPIRED
  """
  Input value is too long.
  """
  TOO_LONG
  """
  The amount of the payment does not match the value to be paid.
  """
  TOTAL_PRICE_MISMATCH
}

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.

Sign up for a Partner account to get started.

Sign up