naftiko: 1.0.0-alpha2 info: label: Shopify API — Sets description: 'Shopify API — Sets. 12 operations. Lead operation: Shopify Sets The Default Address For A Customer. Self-contained Naftiko capability covering one Shopify business surface.' tags: - Shopify - Sets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHOPIFY_API_KEY: SHOPIFY_API_KEY capability: consumes: - type: http namespace: shopify-sets baseUri: '' description: Shopify API — Sets business capability. Self-contained, no shared references. resources: - name: admin-api-2020-01-customers-customer_id-addresses-address_id-default.json path: /admin/api/2020-01/customers/{customer_id}/addresses/{address_id}/default.json operations: - name: deprecated202001updatecustomersparamcustomeridaddressesparamaddressiddefault method: PUT description: Shopify Sets The Default Address For A Customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer_id in: path type: string description: customer_id required: true - name: address_id in: path type: string description: address_id required: true - name: admin-api-2020-01-inventory_levels-set.json path: /admin/api/2020-01/inventory_levels/set.json operations: - name: deprecated202001createinventorylevelsset method: POST description: Shopify Sets The Inventory Level For An Inventory Item At A Location outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: "inventory_item_id\n required" in: query type: string description: The ID for the inventory item. - name: "location_id\n required" in: query type: string 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" in: query type: string description: Sets the available inventory quantity. - name: disconnect_if_necessary in: query type: string 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 ' - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-04-customers-customer_id-addresses-address_id-default.json path: /admin/api/2020-04/customers/{customer_id}/addresses/{address_id}/default.json operations: - name: deprecated202004updatecustomersparamcustomeridaddressesparamaddressiddefault method: PUT description: Shopify Sets The Default Address For A Customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer_id in: path type: string description: customer_id required: true - name: address_id in: path type: string description: address_id required: true - name: admin-api-2020-04-inventory_levels-set.json path: /admin/api/2020-04/inventory_levels/set.json operations: - name: deprecated202004createinventorylevelsset method: POST description: Shopify Sets The Inventory Level For An Inventory Item At A Location outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: "inventory_item_id\n required" in: query type: string description: The ID for the inventory item. - name: "location_id\n required" in: query type: string 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" in: query type: string description: Sets the available inventory quantity. - name: disconnect_if_necessary in: query type: string 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 ' - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-07-customers-customer_id-addresses-address_id-default.json path: /admin/api/2020-07/customers/{customer_id}/addresses/{address_id}/default.json operations: - name: deprecated202007updatecustomersparamcustomeridaddressesparamaddressiddefault method: PUT description: Shopify Sets The Default Address For A Customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer_id in: path type: string description: customer_id required: true - name: address_id in: path type: string description: address_id required: true - name: admin-api-2020-07-inventory_levels-set.json path: /admin/api/2020-07/inventory_levels/set.json operations: - name: deprecated202007createinventorylevelsset method: POST description: Shopify Sets The Inventory Level For An Inventory Item At A Location outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: "inventory_item_id\n required" in: query type: string description: The ID for the inventory item. - name: "location_id\n required" in: query type: string 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" in: query type: string description: Sets the available inventory quantity. - name: disconnect_if_necessary in: query type: string 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 ' - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-10-customers-customer_id-addresses-address_id-default.json path: /admin/api/2020-10/customers/{customer_id}/addresses/{address_id}/default.json operations: - name: updatecustomersparamcustomeridaddressesparamaddressiddefault method: PUT description: Shopify Sets The Default Address For A Customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer_id in: path type: string description: customer_id required: true - name: address_id in: path type: string description: address_id required: true - name: admin-api-2020-10-inventory_levels-set.json path: /admin/api/2020-10/inventory_levels/set.json operations: - name: createinventorylevelsset method: POST description: Shopify Sets The Inventory Level For An Inventory Item At A Location outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: "inventory_item_id\n required" in: query type: string description: The ID for the inventory item. - name: "location_id\n required" in: query type: string 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" in: query type: string description: Sets the available inventory quantity. - name: disconnect_if_necessary in: query type: string 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 ' - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2021-01-customers-customer_id-addresses-address_id-default.json path: /admin/api/2021-01/customers/{customer_id}/addresses/{address_id}/default.json operations: - name: deprecated202101updatecustomersparamcustomeridaddressesparamaddressiddefault method: PUT description: Shopify Sets The Default Address For A Customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer_id in: path type: string description: customer_id required: true - name: address_id in: path type: string description: address_id required: true - name: admin-api-2021-01-inventory_levels-set.json path: /admin/api/2021-01/inventory_levels/set.json operations: - name: deprecated202101createinventorylevelsset method: POST description: Shopify Sets The Inventory Level For An Inventory Item At A Location outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: "inventory_item_id\n required" in: query type: string description: The ID for the inventory item. - name: "location_id\n required" in: query type: string 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" in: query type: string description: Sets the available inventory quantity. - name: disconnect_if_necessary in: query type: string 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 ' - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-unstable-customers-customer_id-addresses-address_id-default.json path: /admin/api/unstable/customers/{customer_id}/addresses/{address_id}/default.json operations: - name: deprecatedunstableupdatecustomersparamcustomeridaddressesparamaddressiddefault method: PUT description: Shopify Sets The Default Address For A Customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer_id in: path type: string description: customer_id required: true - name: address_id in: path type: string description: address_id required: true - name: admin-api-unstable-inventory_levels-set.json path: /admin/api/unstable/inventory_levels/set.json operations: - name: deprecatedunstablecreateinventorylevelsset method: POST description: Shopify Sets The Inventory Level For An Inventory Item At A Location outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: "inventory_item_id\n required" in: query type: string description: The ID for the inventory item. - name: "location_id\n required" in: query type: string 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" in: query type: string description: Sets the available inventory quantity. - name: disconnect_if_necessary in: query type: string 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 ' - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: shopify-sets-rest port: 8080 description: REST adapter for Shopify API — Sets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/admin/api/2020-01/customers/{customer-id}/addresses/{address-id}/default-json name: admin-api-2020-01-customers-customer-id-addresses-address-id-default-json description: REST surface for admin-api-2020-01-customers-customer_id-addresses-address_id-default.json. operations: - method: PUT name: deprecated202001updatecustomersparamcustomeridaddressesparamaddressiddefault description: Shopify Sets The Default Address For A Customer call: shopify-sets.deprecated202001updatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: rest.customer_id address_id: rest.address_id outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-01/inventory-levels/set-json name: admin-api-2020-01-inventory-levels-set-json description: REST surface for admin-api-2020-01-inventory_levels-set.json. operations: - method: POST name: deprecated202001createinventorylevelsset description: Shopify Sets The Inventory Level For An Inventory Item At A Location call: shopify-sets.deprecated202001createinventorylevelsset with: ? "inventory_item_id\n required" : "rest.inventory_item_id\n required" ? "location_id\n required" : "rest.location_id\n required" ? "available\n required" : "rest.available\n required" disconnect_if_necessary: rest.disconnect_if_necessary body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-04/customers/{customer-id}/addresses/{address-id}/default-json name: admin-api-2020-04-customers-customer-id-addresses-address-id-default-json description: REST surface for admin-api-2020-04-customers-customer_id-addresses-address_id-default.json. operations: - method: PUT name: deprecated202004updatecustomersparamcustomeridaddressesparamaddressiddefault description: Shopify Sets The Default Address For A Customer call: shopify-sets.deprecated202004updatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: rest.customer_id address_id: rest.address_id outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-04/inventory-levels/set-json name: admin-api-2020-04-inventory-levels-set-json description: REST surface for admin-api-2020-04-inventory_levels-set.json. operations: - method: POST name: deprecated202004createinventorylevelsset description: Shopify Sets The Inventory Level For An Inventory Item At A Location call: shopify-sets.deprecated202004createinventorylevelsset with: ? "inventory_item_id\n required" : "rest.inventory_item_id\n required" ? "location_id\n required" : "rest.location_id\n required" ? "available\n required" : "rest.available\n required" disconnect_if_necessary: rest.disconnect_if_necessary body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-07/customers/{customer-id}/addresses/{address-id}/default-json name: admin-api-2020-07-customers-customer-id-addresses-address-id-default-json description: REST surface for admin-api-2020-07-customers-customer_id-addresses-address_id-default.json. operations: - method: PUT name: deprecated202007updatecustomersparamcustomeridaddressesparamaddressiddefault description: Shopify Sets The Default Address For A Customer call: shopify-sets.deprecated202007updatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: rest.customer_id address_id: rest.address_id outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-07/inventory-levels/set-json name: admin-api-2020-07-inventory-levels-set-json description: REST surface for admin-api-2020-07-inventory_levels-set.json. operations: - method: POST name: deprecated202007createinventorylevelsset description: Shopify Sets The Inventory Level For An Inventory Item At A Location call: shopify-sets.deprecated202007createinventorylevelsset with: ? "inventory_item_id\n required" : "rest.inventory_item_id\n required" ? "location_id\n required" : "rest.location_id\n required" ? "available\n required" : "rest.available\n required" disconnect_if_necessary: rest.disconnect_if_necessary body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-10/customers/{customer-id}/addresses/{address-id}/default-json name: admin-api-2020-10-customers-customer-id-addresses-address-id-default-json description: REST surface for admin-api-2020-10-customers-customer_id-addresses-address_id-default.json. operations: - method: PUT name: updatecustomersparamcustomeridaddressesparamaddressiddefault description: Shopify Sets The Default Address For A Customer call: shopify-sets.updatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: rest.customer_id address_id: rest.address_id outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-10/inventory-levels/set-json name: admin-api-2020-10-inventory-levels-set-json description: REST surface for admin-api-2020-10-inventory_levels-set.json. operations: - method: POST name: createinventorylevelsset description: Shopify Sets The Inventory Level For An Inventory Item At A Location call: shopify-sets.createinventorylevelsset with: ? "inventory_item_id\n required" : "rest.inventory_item_id\n required" ? "location_id\n required" : "rest.location_id\n required" ? "available\n required" : "rest.available\n required" disconnect_if_necessary: rest.disconnect_if_necessary body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2021-01/customers/{customer-id}/addresses/{address-id}/default-json name: admin-api-2021-01-customers-customer-id-addresses-address-id-default-json description: REST surface for admin-api-2021-01-customers-customer_id-addresses-address_id-default.json. operations: - method: PUT name: deprecated202101updatecustomersparamcustomeridaddressesparamaddressiddefault description: Shopify Sets The Default Address For A Customer call: shopify-sets.deprecated202101updatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: rest.customer_id address_id: rest.address_id outputParameters: - type: object mapping: $. - path: /v1/admin/api/2021-01/inventory-levels/set-json name: admin-api-2021-01-inventory-levels-set-json description: REST surface for admin-api-2021-01-inventory_levels-set.json. operations: - method: POST name: deprecated202101createinventorylevelsset description: Shopify Sets The Inventory Level For An Inventory Item At A Location call: shopify-sets.deprecated202101createinventorylevelsset with: ? "inventory_item_id\n required" : "rest.inventory_item_id\n required" ? "location_id\n required" : "rest.location_id\n required" ? "available\n required" : "rest.available\n required" disconnect_if_necessary: rest.disconnect_if_necessary body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/unstable/customers/{customer-id}/addresses/{address-id}/default-json name: admin-api-unstable-customers-customer-id-addresses-address-id-default-json description: REST surface for admin-api-unstable-customers-customer_id-addresses-address_id-default.json. operations: - method: PUT name: deprecatedunstableupdatecustomersparamcustomeridaddressesparamaddressiddefault description: Shopify Sets The Default Address For A Customer call: shopify-sets.deprecatedunstableupdatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: rest.customer_id address_id: rest.address_id outputParameters: - type: object mapping: $. - path: /v1/admin/api/unstable/inventory-levels/set-json name: admin-api-unstable-inventory-levels-set-json description: REST surface for admin-api-unstable-inventory_levels-set.json. operations: - method: POST name: deprecatedunstablecreateinventorylevelsset description: Shopify Sets The Inventory Level For An Inventory Item At A Location call: shopify-sets.deprecatedunstablecreateinventorylevelsset with: ? "inventory_item_id\n required" : "rest.inventory_item_id\n required" ? "location_id\n required" : "rest.location_id\n required" ? "available\n required" : "rest.available\n required" disconnect_if_necessary: rest.disconnect_if_necessary body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: shopify-sets-mcp port: 9090 transport: http description: MCP adapter for Shopify API — Sets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: shopify-sets-default-address-customer description: Shopify Sets The Default Address For A Customer hints: readOnly: false destructive: false idempotent: true call: shopify-sets.deprecated202001updatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: tools.customer_id address_id: tools.address_id outputParameters: - type: object mapping: $. - name: shopify-sets-inventory-level-inventory description: Shopify Sets The Inventory Level For An Inventory Item At A Location hints: readOnly: false destructive: false idempotent: false call: shopify-sets.deprecated202001createinventorylevelsset with: ? "inventory_item_id\n required" : "tools.inventory_item_id\n required" ? "location_id\n required" : "tools.location_id\n required" ? "available\n required" : "tools.available\n required" disconnect_if_necessary: tools.disconnect_if_necessary body: tools.body outputParameters: - type: object mapping: $. - name: shopify-sets-default-address-customer-2 description: Shopify Sets The Default Address For A Customer hints: readOnly: false destructive: false idempotent: true call: shopify-sets.deprecated202004updatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: tools.customer_id address_id: tools.address_id outputParameters: - type: object mapping: $. - name: shopify-sets-inventory-level-inventory-2 description: Shopify Sets The Inventory Level For An Inventory Item At A Location hints: readOnly: false destructive: false idempotent: false call: shopify-sets.deprecated202004createinventorylevelsset with: ? "inventory_item_id\n required" : "tools.inventory_item_id\n required" ? "location_id\n required" : "tools.location_id\n required" ? "available\n required" : "tools.available\n required" disconnect_if_necessary: tools.disconnect_if_necessary body: tools.body outputParameters: - type: object mapping: $. - name: shopify-sets-default-address-customer-3 description: Shopify Sets The Default Address For A Customer hints: readOnly: false destructive: false idempotent: true call: shopify-sets.deprecated202007updatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: tools.customer_id address_id: tools.address_id outputParameters: - type: object mapping: $. - name: shopify-sets-inventory-level-inventory-3 description: Shopify Sets The Inventory Level For An Inventory Item At A Location hints: readOnly: false destructive: false idempotent: false call: shopify-sets.deprecated202007createinventorylevelsset with: ? "inventory_item_id\n required" : "tools.inventory_item_id\n required" ? "location_id\n required" : "tools.location_id\n required" ? "available\n required" : "tools.available\n required" disconnect_if_necessary: tools.disconnect_if_necessary body: tools.body outputParameters: - type: object mapping: $. - name: shopify-sets-default-address-customer-4 description: Shopify Sets The Default Address For A Customer hints: readOnly: false destructive: false idempotent: true call: shopify-sets.updatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: tools.customer_id address_id: tools.address_id outputParameters: - type: object mapping: $. - name: shopify-sets-inventory-level-inventory-4 description: Shopify Sets The Inventory Level For An Inventory Item At A Location hints: readOnly: false destructive: false idempotent: false call: shopify-sets.createinventorylevelsset with: ? "inventory_item_id\n required" : "tools.inventory_item_id\n required" ? "location_id\n required" : "tools.location_id\n required" ? "available\n required" : "tools.available\n required" disconnect_if_necessary: tools.disconnect_if_necessary body: tools.body outputParameters: - type: object mapping: $. - name: shopify-sets-default-address-customer-5 description: Shopify Sets The Default Address For A Customer hints: readOnly: false destructive: false idempotent: true call: shopify-sets.deprecated202101updatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: tools.customer_id address_id: tools.address_id outputParameters: - type: object mapping: $. - name: shopify-sets-inventory-level-inventory-5 description: Shopify Sets The Inventory Level For An Inventory Item At A Location hints: readOnly: false destructive: false idempotent: false call: shopify-sets.deprecated202101createinventorylevelsset with: ? "inventory_item_id\n required" : "tools.inventory_item_id\n required" ? "location_id\n required" : "tools.location_id\n required" ? "available\n required" : "tools.available\n required" disconnect_if_necessary: tools.disconnect_if_necessary body: tools.body outputParameters: - type: object mapping: $. - name: shopify-sets-default-address-customer-6 description: Shopify Sets The Default Address For A Customer hints: readOnly: false destructive: false idempotent: true call: shopify-sets.deprecatedunstableupdatecustomersparamcustomeridaddressesparamaddressiddefault with: customer_id: tools.customer_id address_id: tools.address_id outputParameters: - type: object mapping: $. - name: shopify-sets-inventory-level-inventory-6 description: Shopify Sets The Inventory Level For An Inventory Item At A Location hints: readOnly: false destructive: false idempotent: false call: shopify-sets.deprecatedunstablecreateinventorylevelsset with: ? "inventory_item_id\n required" : "tools.inventory_item_id\n required" ? "location_id\n required" : "tools.location_id\n required" ? "available\n required" : "tools.available\n required" disconnect_if_necessary: tools.disconnect_if_necessary body: tools.body outputParameters: - type: object mapping: $.