Admin API / Types
RestockItemErrorReason
EnumWhy an item cannot go back in stock. Additional values may be added; clients must handle values they do not recognize.
enum RestockItemErrorReasonValues
AUCTION: The variant's listing is an auction.CLAIM_OPEN: An open claim holds the units. Units of an order item whose claim is not expired or cancelled cannot go back in stock.EXTERNALLY_MANAGED: Shopify or ShipHero sets the variant's stock. A full refund restocks the item in Shopify, and ShipHero syncs the quantity.GIVEAWAY: The variant's listing is a giveaway.NOT_IN_ORDER: No item of the order has the variant.QUANTITY_EXCEEDED:quantityis more than the units of the variant that can go back in stock.UNLIMITED_STOCK: The variant has unlimited stock.