{ "opencollection": "1.0.0", "info": { "name": "Shopify Admin REST About Sets API", "version": "2025-01" }, "request": { "auth": { "type": "apikey", "key": "X-Shopify-Access-Token", "value": "{{X-Shopify-Access-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Sets", "type": "folder" }, "items": [ { "info": { "name": "Shopify Sets The Default Address For A Customer", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/customers/:customer_id/addresses/:address_id/default.json", "params": [ { "name": "customer_id", "value": "", "type": "path", "description": "customer_id" }, { "name": "address_id", "value": "", "type": "path", "description": "address_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#default-2020-01" }, { "info": { "name": "Shopify Sets The Default Address For A Customer", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/customers/:customer_id/addresses/:address_id/default.json", "params": [ { "name": "customer_id", "value": "", "type": "path", "description": "customer_id" }, { "name": "address_id", "value": "", "type": "path", "description": "address_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#default-2020-04" }, { "info": { "name": "Shopify Sets The Default Address For A Customer", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/customers/:customer_id/addresses/:address_id/default.json", "params": [ { "name": "customer_id", "value": "", "type": "path", "description": "customer_id" }, { "name": "address_id", "value": "", "type": "path", "description": "address_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#default-2020-07" }, { "info": { "name": "Shopify Sets The Default Address For A Customer", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/customers/:customer_id/addresses/:address_id/default.json", "params": [ { "name": "customer_id", "value": "", "type": "path", "description": "customer_id" }, { "name": "address_id", "value": "", "type": "path", "description": "address_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#default-2020-10" }, { "info": { "name": "Shopify Sets The Default Address For A Customer", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/customers/:customer_id/addresses/:address_id/default.json", "params": [ { "name": "customer_id", "value": "", "type": "path", "description": "customer_id" }, { "name": "address_id", "value": "", "type": "path", "description": "address_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#default-2021-01" }, { "info": { "name": "Shopify Sets The Default Address For A Customer", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/customers/:customer_id/addresses/:address_id/default.json", "params": [ { "name": "customer_id", "value": "", "type": "path", "description": "customer_id" }, { "name": "address_id", "value": "", "type": "path", "description": "address_id" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#default-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/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 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 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 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 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 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" } ] } ], "bundled": true }