Docs
Dashboard

CartLineItemsAddError

Union

Possible results returned for cart line items add error.

#

Possible Types


CartLineItemPriceNotFoundError
CartLineItemPriceNotFoundError

This exception is thrown when price lookup fails for a line item variant.

CartLineItemUnavailableForPurchase
CartLineItemUnavailableForPurchase

This exception is thrown when a variant or its parent product is unavailable for purchase.

CartLineItemsInsufficientStockError
CartLineItemsInsufficientStockError

This exception is thrown when one or more requested line items do not have enough stock.

CartNotFoundError
CartNotFoundError

This exception is thrown when a cart with the specified ID cannot be found.

ProductVariantNotFoundError
ProductVariantNotFoundError

This exception is thrown when a product variant with the specified ID cannot be found.