naftiko: 1.0.0-alpha2 info: label: Shopify Admin REST API — Fulfillments description: 'Shopify Admin REST API — Fulfillments. 3 operations. Lead operation: Shopify Create a fulfillment. Self-contained Naftiko capability covering one Shopify business surface.' tags: - Shopify - Fulfillments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHOPIFY_API_KEY: SHOPIFY_API_KEY capability: consumes: - type: http namespace: admin-rest-fulfillments baseUri: https://{store}.myshopify.com/admin/api/2025-01 description: Shopify Admin REST API — Fulfillments business capability. Self-contained, no shared references. resources: - name: fulfillments.json path: /fulfillments.json operations: - name: createfulfillment method: POST description: Shopify Create a fulfillment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: fulfillments-fulfillment_id-cancel.json path: /fulfillments/{fulfillment_id}/cancel.json operations: - name: cancelfulfillment method: POST description: Shopify Cancel a fulfillment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fulfillment_id in: path type: integer description: The ID of the fulfillment required: true - name: fulfillments-fulfillment_id-update_tracking.json path: /fulfillments/{fulfillment_id}/update_tracking.json operations: - name: updatefulfillmenttracking method: POST description: Shopify Update tracking information for a fulfillment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fulfillment_id in: path type: integer description: The ID of the fulfillment required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Shopify-Access-Token value: '{{env.SHOPIFY_API_KEY}}' placement: header exposes: - type: rest namespace: admin-rest-fulfillments-rest port: 8080 description: REST adapter for Shopify Admin REST API — Fulfillments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/fulfillments-json name: fulfillments-json description: REST surface for fulfillments.json. operations: - method: POST name: createfulfillment description: Shopify Create a fulfillment call: admin-rest-fulfillments.createfulfillment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/fulfillments/{fulfillment-id}/cancel-json name: fulfillments-fulfillment-id-cancel-json description: REST surface for fulfillments-fulfillment_id-cancel.json. operations: - method: POST name: cancelfulfillment description: Shopify Cancel a fulfillment call: admin-rest-fulfillments.cancelfulfillment with: fulfillment_id: rest.fulfillment_id outputParameters: - type: object mapping: $. - path: /v1/fulfillments/{fulfillment-id}/update-tracking-json name: fulfillments-fulfillment-id-update-tracking-json description: REST surface for fulfillments-fulfillment_id-update_tracking.json. operations: - method: POST name: updatefulfillmenttracking description: Shopify Update tracking information for a fulfillment call: admin-rest-fulfillments.updatefulfillmenttracking with: fulfillment_id: rest.fulfillment_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: admin-rest-fulfillments-mcp port: 9090 transport: http description: MCP adapter for Shopify Admin REST API — Fulfillments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: shopify-create-fulfillment description: Shopify Create a fulfillment hints: readOnly: false destructive: false idempotent: false call: admin-rest-fulfillments.createfulfillment with: body: tools.body outputParameters: - type: object mapping: $. - name: shopify-cancel-fulfillment description: Shopify Cancel a fulfillment hints: readOnly: false destructive: false idempotent: false call: admin-rest-fulfillments.cancelfulfillment with: fulfillment_id: tools.fulfillment_id outputParameters: - type: object mapping: $. - name: shopify-update-tracking-information-fulfillment description: Shopify Update tracking information for a fulfillment hints: readOnly: false destructive: false idempotent: false call: admin-rest-fulfillments.updatefulfillmenttracking with: fulfillment_id: tools.fulfillment_id body: tools.body outputParameters: - type: object mapping: $.