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 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 unusable. GIFT_CARD_UNUSABLE

# Input value is invalid. INVALID

# 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

# Checkout is locked. LOCKED

# 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 }

Values

TOO_LONG

Input value is too long.

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_UNUSABLE

Gift card unusable.

INVALID

Input value is invalid.

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.

LOCKED

Checkout is locked.

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.

ALREADY_COMPLETED

Checkout is already completed.

Sign up for a Partner account to get started.

Sign up