{ "opencollection": "1.0.0", "info": { "name": "Shopify Admin REST About Location API", "version": "2025-01" }, "request": { "auth": { "type": "apikey", "key": "X-Shopify-Access-Token", "value": "{{X-Shopify-Access-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Location", "type": "folder" }, "items": [ { "info": { "name": "Shopify Retrieves The Location Of A Discount Code", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/discount_codes/lookup.json", "params": [ { "name": "code", "value": "", "type": "query", "description": "code" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#lookup-2020-01" }, { "info": { "name": "Shopify Retrieves The Location Of A Discount Code", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/discount_codes/lookup.json", "params": [ { "name": "code", "value": "", "type": "query", "description": "code" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#lookup-2020-04" }, { "info": { "name": "Shopify Retrieves The Location Of A Discount Code", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/discount_codes/lookup.json", "params": [ { "name": "code", "value": "", "type": "query", "description": "code" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#lookup-2020-07" }, { "info": { "name": "Shopify Retrieves The Location Of A Discount Code", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/discount_codes/lookup.json", "params": [ { "name": "code", "value": "", "type": "query", "description": "code" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#lookup-2020-10" }, { "info": { "name": "Shopify Retrieves The Location Of A Discount Code", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/discount_codes/lookup.json", "params": [ { "name": "code", "value": "", "type": "query", "description": "code" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#lookup-2021-01" }, { "info": { "name": "Shopify Retrieves The Location Of A Discount Code", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/discount_codes/lookup.json", "params": [ { "name": "code", "value": "", "type": "query", "description": "code" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#lookup-unstable" }, { "info": { "name": "Shopify Deletes An Inventory Level Of An Inventory Item At A Location", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/inventory_levels.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "inventory_item_id", "value": "", "type": "query", "description": "inventory_item_id" }, { "name": "location_id", "value": "", "type": "query", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#destroy-2020-01" }, { "info": { "name": "Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/inventory_levels/adjust.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available_adjustment\n required", "value": "", "type": "query", "description": "The amount to adjust the available inventory quantity. Send negative values to subtract from the current available quantity. For example, \"available_adjustment\": 2 increases the current available quantity by 2, and \"available_adjustment\": -3decreases the current available quantity by 3." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#adjust-2020-01" }, { "info": { "name": "Shopify Connects An Inventory Item To A Location By Creating An Inventory Level At That Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/inventory_levels/connect.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "relocate_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be relocated. This property is ignored when no fulfillment service location is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#connect-2020-01" }, { "info": { "name": "Shopify Sets The Inventory Level For An Inventory Item At A Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/inventory_levels/set.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available\n required", "value": "", "type": "query", "description": "Sets the available inventory quantity." }, { "name": "disconnect_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be set to 0 and the locations disconnected. This property is ignored when no fulfillment service is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#set-2020-01" }, { "info": { "name": "Shopify Deletes An Inventory Level Of An Inventory Item At A Location", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/inventory_levels.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "inventory_item_id", "value": "", "type": "query", "description": "inventory_item_id" }, { "name": "location_id", "value": "", "type": "query", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#destroy-2020-04" }, { "info": { "name": "Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/inventory_levels/adjust.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available_adjustment\n required", "value": "", "type": "query", "description": "The amount to adjust the available inventory quantity. Send negative values to subtract from the current available quantity. For example, \"available_adjustment\": 2 increases the current available quantity by 2, and \"available_adjustment\": -3decreases the current available quantity by 3." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#adjust-2020-04" }, { "info": { "name": "Shopify Connects An Inventory Item To A Location By Creating An Inventory Level At That Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/inventory_levels/connect.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "relocate_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be relocated. This property is ignored when no fulfillment service location is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#connect-2020-04" }, { "info": { "name": "Shopify Sets The Inventory Level For An Inventory Item At A Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/inventory_levels/set.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available\n required", "value": "", "type": "query", "description": "Sets the available inventory quantity." }, { "name": "disconnect_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be set to 0 and the locations disconnected. This property is ignored when no fulfillment service is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#set-2020-04" }, { "info": { "name": "Shopify Deletes An Inventory Level Of An Inventory Item At A Location", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/inventory_levels.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "inventory_item_id", "value": "", "type": "query", "description": "inventory_item_id" }, { "name": "location_id", "value": "", "type": "query", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#destroy-2020-07" }, { "info": { "name": "Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/inventory_levels/adjust.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available_adjustment\n required", "value": "", "type": "query", "description": "The amount to adjust the available inventory quantity. Send negative values to subtract from the current available quantity. For example, \"available_adjustment\": 2 increases the current available quantity by 2, and \"available_adjustment\": -3decreases the current available quantity by 3." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#adjust-2020-07" }, { "info": { "name": "Shopify Connects An Inventory Item To A Location By Creating An Inventory Level At That Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/inventory_levels/connect.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "relocate_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be relocated. This property is ignored when no fulfillment service location is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#connect-2020-07" }, { "info": { "name": "Shopify Sets The Inventory Level For An Inventory Item At A Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/inventory_levels/set.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available\n required", "value": "", "type": "query", "description": "Sets the available inventory quantity." }, { "name": "disconnect_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be set to 0 and the locations disconnected. This property is ignored when no fulfillment service is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#set-2020-07" }, { "info": { "name": "Shopify Deletes An Inventory Level Of An Inventory Item At A Location", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/inventory_levels.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "inventory_item_id", "value": "", "type": "query", "description": "inventory_item_id" }, { "name": "location_id", "value": "", "type": "query", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#destroy-2020-10" }, { "info": { "name": "Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/inventory_levels/adjust.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available_adjustment\n required", "value": "", "type": "query", "description": "The amount to adjust the available inventory quantity. Send negative values to subtract from the current available quantity. For example, \"available_adjustment\": 2 increases the current available quantity by 2, and \"available_adjustment\": -3decreases the current available quantity by 3." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#adjust-2020-10" }, { "info": { "name": "Shopify Connects An Inventory Item To A Location By Creating An Inventory Level At That Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/inventory_levels/connect.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "relocate_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be relocated. This property is ignored when no fulfillment service location is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#connect-2020-10" }, { "info": { "name": "Shopify Sets The Inventory Level For An Inventory Item At A Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/inventory_levels/set.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available\n required", "value": "", "type": "query", "description": "Sets the available inventory quantity." }, { "name": "disconnect_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be set to 0 and the locations disconnected. This property is ignored when no fulfillment service is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#set-2020-10" }, { "info": { "name": "Shopify Deletes An Inventory Level Of An Inventory Item At A Location", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/inventory_levels.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "inventory_item_id", "value": "", "type": "query", "description": "inventory_item_id" }, { "name": "location_id", "value": "", "type": "query", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#destroy-2021-01" }, { "info": { "name": "Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/inventory_levels/adjust.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available_adjustment\n required", "value": "", "type": "query", "description": "The amount to adjust the available inventory quantity. Send negative values to subtract from the current available quantity. For example, \"available_adjustment\": 2 increases the current available quantity by 2, and \"available_adjustment\": -3decreases the current available quantity by 3." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#adjust-2021-01" }, { "info": { "name": "Shopify Connects An Inventory Item To A Location By Creating An Inventory Level At That Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/inventory_levels/connect.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "relocate_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be relocated. This property is ignored when no fulfillment service location is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#connect-2021-01" }, { "info": { "name": "Shopify Sets The Inventory Level For An Inventory Item At A Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/inventory_levels/set.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available\n required", "value": "", "type": "query", "description": "Sets the available inventory quantity." }, { "name": "disconnect_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be set to 0 and the locations disconnected. This property is ignored when no fulfillment service is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#set-2021-01" }, { "info": { "name": "Shopify Deletes An Inventory Level Of An Inventory Item At A Location", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/inventory_levels.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "inventory_item_id", "value": "", "type": "query", "description": "inventory_item_id" }, { "name": "location_id", "value": "", "type": "query", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#destroy-unstable" }, { "info": { "name": "Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/inventory_levels/adjust.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available_adjustment\n required", "value": "", "type": "query", "description": "The amount to adjust the available inventory quantity. Send negative values to subtract from the current available quantity. For example, \"available_adjustment\": 2 increases the current available quantity by 2, and \"available_adjustment\": -3decreases the current available quantity by 3." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#adjust-unstable" }, { "info": { "name": "Shopify Connects An Inventory Item To A Location By Creating An Inventory Level At That Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/inventory_levels/connect.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID of the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "relocate_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be relocated. This property is ignored when no fulfillment service location is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#connect-unstable" }, { "info": { "name": "Shopify Sets The Inventory Level For An Inventory Item At A Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/inventory_levels/set.json", "params": [ { "name": "inventory_item_id\n required", "value": "", "type": "query", "description": "The ID for the inventory item." }, { "name": "location_id\n required", "value": "", "type": "query", "description": "The ID of the location that the inventory level belongs to. To find the ID of the location, use the Location resource." }, { "name": "available\n required", "value": "", "type": "query", "description": "Sets the available inventory quantity." }, { "name": "disconnect_if_necessary", "value": "", "type": "query", "description": "Whether inventory for any previously connected locations will be set to 0 and the locations disconnected. This property is ignored when no fulfillment service is involved. For more information, see Inventory levels and fulfillment service locations.\n (default: false)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#set-unstable" }, { "info": { "name": "Shopify Retrieves A Single Location By Its Id", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/locations/:location_id.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#show-2020-01" }, { "info": { "name": "Shopify Retrieves A List Of Inventory Levels For A Location", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/locations/:location_id/inventory_levels.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#inventory_levels-2020-01" }, { "info": { "name": "Shopify Retrieves A Single Location By Its Id", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/locations/:location_id.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#show-2020-04" }, { "info": { "name": "Shopify Retrieves A List Of Inventory Levels For A Location", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/locations/:location_id/inventory_levels.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#inventory_levels-2020-04" }, { "info": { "name": "Shopify Retrieves A Single Location By Its Id", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/locations/:location_id.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#show-2020-07" }, { "info": { "name": "Shopify Retrieves A List Of Inventory Levels For A Location", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/locations/:location_id/inventory_levels.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#inventory_levels-2020-07" }, { "info": { "name": "Shopify Retrieves A Single Location By Its Id", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/locations/:location_id.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#show-2020-10" }, { "info": { "name": "Shopify Retrieves A List Of Inventory Levels For A Location", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/locations/:location_id/inventory_levels.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#inventory_levels-2020-10" }, { "info": { "name": "Shopify Retrieves A Single Location By Its Id", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/locations/:location_id.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#show-2021-01" }, { "info": { "name": "Shopify Retrieves A List Of Inventory Levels For A Location", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/locations/:location_id/inventory_levels.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#inventory_levels-2021-01" }, { "info": { "name": "Shopify Retrieves A Single Location By Its Id", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/locations/:location_id.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#show-unstable" }, { "info": { "name": "Shopify Retrieves A List Of Inventory Levels For A Location", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/locations/:location_id/inventory_levels.json", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "location_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/inventory/location#inventory_levels-unstable" }, { "info": { "name": "Shopify Moves A Fulfillment Order From One Merchant Managed Location To Another Merchant Managed Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/fulfillment_orders/:fulfillment_order_id/move.json", "params": [ { "name": "fulfillment_order_id", "value": "", "type": "path", "description": "fulfillment_order_id" }, { "name": "new_location_id", "value": "", "type": "query", "description": "The id of the location to which the fulfillment order will be moved." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillmentorder#move-2020-01" }, { "info": { "name": "Shopify Moves A Fulfillment Order From One Merchant Managed Location To Another Merchant Managed Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/fulfillment_orders/:fulfillment_order_id/move.json", "params": [ { "name": "fulfillment_order_id", "value": "", "type": "path", "description": "fulfillment_order_id" }, { "name": "new_location_id", "value": "", "type": "query", "description": "The id of the location to which the fulfillment order will be moved." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillmentorder#move-2020-04" }, { "info": { "name": "Shopify Moves A Fulfillment Order From One Merchant Managed Location To Another Merchant Managed Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/fulfillment_orders/:fulfillment_order_id/move.json", "params": [ { "name": "fulfillment_order_id", "value": "", "type": "path", "description": "fulfillment_order_id" }, { "name": "new_location_id", "value": "", "type": "query", "description": "The id of the location to which the fulfillment order will be moved." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillmentorder#move-2020-07" }, { "info": { "name": "Shopify Moves A Fulfillment Order From One Merchant Managed Location To Another Merchant Managed Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/fulfillment_orders/:fulfillment_order_id/move.json", "params": [ { "name": "fulfillment_order_id", "value": "", "type": "path", "description": "fulfillment_order_id" }, { "name": "new_location_id", "value": "", "type": "query", "description": "The id of the location to which the fulfillment order will be moved." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillmentorder#move-2020-10" }, { "info": { "name": "Shopify Moves A Fulfillment Order From One Merchant Managed Location To Another Merchant Managed Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/fulfillment_orders/:fulfillment_order_id/move.json", "params": [ { "name": "fulfillment_order_id", "value": "", "type": "path", "description": "fulfillment_order_id" }, { "name": "new_location_id", "value": "", "type": "query", "description": "The id of the location to which the fulfillment order will be moved." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillmentorder#move-2021-01" }, { "info": { "name": "Shopify Moves A Fulfillment Order From One Merchant Managed Location To Another Merchant Managed Location", "type": "http" }, "http": { "method": "POST", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/fulfillment_orders/:fulfillment_order_id/move.json", "params": [ { "name": "fulfillment_order_id", "value": "", "type": "path", "description": "fulfillment_order_id" }, { "name": "new_location_id", "value": "", "type": "query", "description": "The id of the location to which the fulfillment order will be moved." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillmentorder#move-unstable" } ] } ], "bundled": true }