The following example shows how to set the on-hand inventory quantity to 102. Used when actual inventory levels are less than recorded due to theft or loss. Used to specify that on-hand units are being set aside to help guard against overselling. Used to add a returned unit back to available inventory so the unit can be resold. Used to update the number of unavailable units that have been reserved. Used to remove the number of unavailable units that have been reserved. Used to reserve, or temporarily set aside unavailable units. Used to specify inventory that the merchant received. Used to specify that on-hand units that aren't sellable because they're currently in inspection for quality purposes. Used to remove units from inventory count due to a promotion or donation. Used to specify an alternate reason for the inventory adjustment. Used to remove units from inventory count due to damage. Used to specify an adjusted inventory count due to a discrepancy between the actual inventory quantity and previously recorded inventory quantity. Used to correct an inventory error or as a general adjustment reason. The InventoryLevel object has a global ID that contains parameters because the InventoryLevel object is associated with the InventoryItem object.įor example, if the InventoryLevel object's ID is 69407473686 and the InventoryItem object's ID is 32889739542550, then the global ID resolves to the following structure: gid://shopify/InventoryLevel/69407473686?inventory_item_id=32889739542550. The response returns a set of parameterized global IDs. The following example shows how to retrieve the first three locations and their associated inventory levels. You'll use the IDs for inventory levels and inventory items to query inventory quantities in the next step. An inventory item represents the goods that are available to be shipped to a customer. You can use the locations query to retrieve the IDs of inventory locations and inventory items.Īn inventory level represents the quantities of an inventory item that's associated with a location. Step 1: Retrieve IDs for inventory locations and inventory items Anchor link to section titled "Step 1: Retrieve IDs for inventory locations and inventory items" Each location has one inventory level for each inventory item that the location stocks. Locations can have many inventory levels. Each inventory level holds the available quantity for its inventory item at the associated location.Ī geographical location where a merchant does business, such as a retail store or warehouse. Inventory levels connect one inventory item to one location. The actual quantities of an item that are in a specific inventory state. An inventory item has an inventory level for each location where the item is stocked. Inventory items are associated with one or many inventory levels. Think of this as the backend information used for managing inventory, shipping, and fulfillments. All product variants have a 1:1 relationship with their associated inventory item.Ĭontains information about the physical product, such as its SKU. Think of this as the product information that you might want a customer to see. Contains merchandising information, such as price, description, and images.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |