Admin API / Types

RestockItemErrorReason

Enum

Why an item cannot go back in stock. Additional values may be added; clients must handle values they do not recognize.

enum RestockItemErrorReason

Values

  • 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: quantity is more than the units of the variant that can go back in stock.
  • UNLIMITED_STOCK: The variant has unlimited stock.

Returned by