naftiko: 1.0.0-alpha2 info: label: Shopify API — Policies description: 'Shopify API — Policies. 6 operations. Lead operation: Shopify Retrieves A List Of The Shop''s Policies. Self-contained Naftiko capability covering one Shopify business surface.' tags: - Shopify - Policies created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHOPIFY_API_KEY: SHOPIFY_API_KEY capability: consumes: - type: http namespace: shopify-policies baseUri: '' description: Shopify API — Policies business capability. Self-contained, no shared references. resources: - name: admin-api-2020-01-policies.json path: /admin/api/2020-01/policies.json operations: - name: deprecated202001getpolicies method: GET description: Shopify Retrieves A List Of The Shop's Policies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: admin-api-2020-04-policies.json path: /admin/api/2020-04/policies.json operations: - name: deprecated202004getpolicies method: GET description: Shopify Retrieves A List Of The Shop's Policies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: admin-api-2020-07-policies.json path: /admin/api/2020-07/policies.json operations: - name: deprecated202007getpolicies method: GET description: Shopify Retrieves A List Of The Shop's Policies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: admin-api-2020-10-policies.json path: /admin/api/2020-10/policies.json operations: - name: getpolicies method: GET description: Shopify Retrieves A List Of The Shop's Policies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: admin-api-2021-01-policies.json path: /admin/api/2021-01/policies.json operations: - name: deprecated202101getpolicies method: GET description: Shopify Retrieves A List Of The Shop's Policies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: admin-api-unstable-policies.json path: /admin/api/unstable/policies.json operations: - name: deprecatedunstablegetpolicies method: GET description: Shopify Retrieves A List Of The Shop's Policies outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: shopify-policies-rest port: 8080 description: REST adapter for Shopify API — Policies. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/admin/api/2020-01/policies-json name: admin-api-2020-01-policies-json description: REST surface for admin-api-2020-01-policies.json. operations: - method: GET name: deprecated202001getpolicies description: Shopify Retrieves A List Of The Shop's Policies call: shopify-policies.deprecated202001getpolicies outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-04/policies-json name: admin-api-2020-04-policies-json description: REST surface for admin-api-2020-04-policies.json. operations: - method: GET name: deprecated202004getpolicies description: Shopify Retrieves A List Of The Shop's Policies call: shopify-policies.deprecated202004getpolicies outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-07/policies-json name: admin-api-2020-07-policies-json description: REST surface for admin-api-2020-07-policies.json. operations: - method: GET name: deprecated202007getpolicies description: Shopify Retrieves A List Of The Shop's Policies call: shopify-policies.deprecated202007getpolicies outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-10/policies-json name: admin-api-2020-10-policies-json description: REST surface for admin-api-2020-10-policies.json. operations: - method: GET name: getpolicies description: Shopify Retrieves A List Of The Shop's Policies call: shopify-policies.getpolicies outputParameters: - type: object mapping: $. - path: /v1/admin/api/2021-01/policies-json name: admin-api-2021-01-policies-json description: REST surface for admin-api-2021-01-policies.json. operations: - method: GET name: deprecated202101getpolicies description: Shopify Retrieves A List Of The Shop's Policies call: shopify-policies.deprecated202101getpolicies outputParameters: - type: object mapping: $. - path: /v1/admin/api/unstable/policies-json name: admin-api-unstable-policies-json description: REST surface for admin-api-unstable-policies.json. operations: - method: GET name: deprecatedunstablegetpolicies description: Shopify Retrieves A List Of The Shop's Policies call: shopify-policies.deprecatedunstablegetpolicies outputParameters: - type: object mapping: $. - type: mcp namespace: shopify-policies-mcp port: 9090 transport: http description: MCP adapter for Shopify API — Policies. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: shopify-retrieves-list-shop-s-policies description: Shopify Retrieves A List Of The Shop's Policies hints: readOnly: true destructive: false idempotent: true call: shopify-policies.deprecated202001getpolicies outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-shop-s-policies-2 description: Shopify Retrieves A List Of The Shop's Policies hints: readOnly: true destructive: false idempotent: true call: shopify-policies.deprecated202004getpolicies outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-shop-s-policies-3 description: Shopify Retrieves A List Of The Shop's Policies hints: readOnly: true destructive: false idempotent: true call: shopify-policies.deprecated202007getpolicies outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-shop-s-policies-4 description: Shopify Retrieves A List Of The Shop's Policies hints: readOnly: true destructive: false idempotent: true call: shopify-policies.getpolicies outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-shop-s-policies-5 description: Shopify Retrieves A List Of The Shop's Policies hints: readOnly: true destructive: false idempotent: true call: shopify-policies.deprecated202101getpolicies outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-shop-s-policies-6 description: Shopify Retrieves A List Of The Shop's Policies hints: readOnly: true destructive: false idempotent: true call: shopify-policies.deprecatedunstablegetpolicies outputParameters: - type: object mapping: $.