naftiko: 1.0.0-alpha2 info: label: Shopify API — Variants description: 'Shopify API — Variants. 6 operations. Lead operation: Shopify Updates A Product And Its Variants And Images. Self-contained Naftiko capability covering one Shopify business surface.' tags: - Shopify - Variants created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHOPIFY_API_KEY: SHOPIFY_API_KEY capability: consumes: - type: http namespace: shopify-variants baseUri: '' description: Shopify API — Variants business capability. Self-contained, no shared references. resources: - name: admin-api-2020-01-products-product_id}.json path: /admin/api/2020-01/products/{product_id}.json operations: - name: deprecated202001updateproductsparamproductid method: PUT description: Shopify Updates A Product And Its Variants And Images outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: product_id in: path type: string description: product_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-04-products-product_id}.json path: /admin/api/2020-04/products/{product_id}.json operations: - name: deprecated202004updateproductsparamproductid method: PUT description: Shopify Updates A Product And Its Variants And Images outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: product_id in: path type: string description: product_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-07-products-product_id}.json path: /admin/api/2020-07/products/{product_id}.json operations: - name: deprecated202007updateproductsparamproductid method: PUT description: Shopify Updates A Product And Its Variants And Images outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: product_id in: path type: string description: product_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2020-10-products-product_id}.json path: /admin/api/2020-10/products/{product_id}.json operations: - name: updateproductsparamproductid method: PUT description: Shopify Updates A Product And Its Variants And Images outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: product_id in: path type: string description: product_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-2021-01-products-product_id}.json path: /admin/api/2021-01/products/{product_id}.json operations: - name: deprecated202101updateproductsparamproductid method: PUT description: Shopify Updates A Product And Its Variants And Images outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: product_id in: path type: string description: product_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: admin-api-unstable-products-product_id}.json path: /admin/api/unstable/products/{product_id}.json operations: - name: deprecatedunstableupdateproductsparamproductid method: PUT description: Shopify Updates A Product And Its Variants And Images outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: product_id in: path type: string description: product_id required: true - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: shopify-variants-rest port: 8080 description: REST adapter for Shopify API — Variants. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/admin/api/2020-01/products/product-id-json name: admin-api-2020-01-products-product-id-json description: REST surface for admin-api-2020-01-products-product_id}.json. operations: - method: PUT name: deprecated202001updateproductsparamproductid description: Shopify Updates A Product And Its Variants And Images call: shopify-variants.deprecated202001updateproductsparamproductid with: product_id: rest.product_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-04/products/product-id-json name: admin-api-2020-04-products-product-id-json description: REST surface for admin-api-2020-04-products-product_id}.json. operations: - method: PUT name: deprecated202004updateproductsparamproductid description: Shopify Updates A Product And Its Variants And Images call: shopify-variants.deprecated202004updateproductsparamproductid with: product_id: rest.product_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-07/products/product-id-json name: admin-api-2020-07-products-product-id-json description: REST surface for admin-api-2020-07-products-product_id}.json. operations: - method: PUT name: deprecated202007updateproductsparamproductid description: Shopify Updates A Product And Its Variants And Images call: shopify-variants.deprecated202007updateproductsparamproductid with: product_id: rest.product_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-10/products/product-id-json name: admin-api-2020-10-products-product-id-json description: REST surface for admin-api-2020-10-products-product_id}.json. operations: - method: PUT name: updateproductsparamproductid description: Shopify Updates A Product And Its Variants And Images call: shopify-variants.updateproductsparamproductid with: product_id: rest.product_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/2021-01/products/product-id-json name: admin-api-2021-01-products-product-id-json description: REST surface for admin-api-2021-01-products-product_id}.json. operations: - method: PUT name: deprecated202101updateproductsparamproductid description: Shopify Updates A Product And Its Variants And Images call: shopify-variants.deprecated202101updateproductsparamproductid with: product_id: rest.product_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/api/unstable/products/product-id-json name: admin-api-unstable-products-product-id-json description: REST surface for admin-api-unstable-products-product_id}.json. operations: - method: PUT name: deprecatedunstableupdateproductsparamproductid description: Shopify Updates A Product And Its Variants And Images call: shopify-variants.deprecatedunstableupdateproductsparamproductid with: product_id: rest.product_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: shopify-variants-mcp port: 9090 transport: http description: MCP adapter for Shopify API — Variants. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: shopify-updates-product-and-its description: Shopify Updates A Product And Its Variants And Images hints: readOnly: false destructive: false idempotent: true call: shopify-variants.deprecated202001updateproductsparamproductid with: product_id: tools.product_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-updates-product-and-its-2 description: Shopify Updates A Product And Its Variants And Images hints: readOnly: false destructive: false idempotent: true call: shopify-variants.deprecated202004updateproductsparamproductid with: product_id: tools.product_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-updates-product-and-its-3 description: Shopify Updates A Product And Its Variants And Images hints: readOnly: false destructive: false idempotent: true call: shopify-variants.deprecated202007updateproductsparamproductid with: product_id: tools.product_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-updates-product-and-its-4 description: Shopify Updates A Product And Its Variants And Images hints: readOnly: false destructive: false idempotent: true call: shopify-variants.updateproductsparamproductid with: product_id: tools.product_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-updates-product-and-its-5 description: Shopify Updates A Product And Its Variants And Images hints: readOnly: false destructive: false idempotent: true call: shopify-variants.deprecated202101updateproductsparamproductid with: product_id: tools.product_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-updates-product-and-its-6 description: Shopify Updates A Product And Its Variants And Images hints: readOnly: false destructive: false idempotent: true call: shopify-variants.deprecatedunstableupdateproductsparamproductid with: product_id: tools.product_id body: tools.body outputParameters: - type: object mapping: $.