naftiko: 1.0.0-alpha2 info: label: Shopify API — Usage description: 'Shopify API — Usage. 12 operations. Lead operation: Shopify Creates A Usage Charge. Self-contained Naftiko capability covering one Shopify business surface.' tags: - Shopify - Usage created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHOPIFY_API_KEY: SHOPIFY_API_KEY capability: consumes: - type: http namespace: shopify-usage baseUri: '' description: Shopify API — Usage business capability. Self-contained, no shared references. resources: - name: admin-api-2020-01-recurring_application_charges-recurring_application_charge_id- path: /admin/api/2020-01/recurring_application_charges/{recurring_application_charge_id}/usage_charges.json operations: - name: deprecated202001createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: POST description: Shopify Creates A Usage Charge outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deprecated202001getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: GET description: Shopify Retrieves A List Of Usage Charges outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: fields in: query type: string description: A comma-separated list of fields to include in the response. - name: admin-api-2020-04-recurring_application_charges-recurring_application_charge_id- path: /admin/api/2020-04/recurring_application_charges/{recurring_application_charge_id}/usage_charges.json operations: - name: deprecated202004createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: POST description: Shopify Creates A Usage Charge outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deprecated202004getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: GET description: Shopify Retrieves A List Of Usage Charges outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: fields in: query type: string description: A comma-separated list of fields to include in the response. - name: admin-api-2020-07-recurring_application_charges-recurring_application_charge_id- path: /admin/api/2020-07/recurring_application_charges/{recurring_application_charge_id}/usage_charges.json operations: - name: deprecated202007createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: POST description: Shopify Creates A Usage Charge outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deprecated202007getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: GET description: Shopify Retrieves A List Of Usage Charges outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: fields in: query type: string description: A comma-separated list of fields to include in the response. - name: admin-api-2020-10-recurring_application_charges-recurring_application_charge_id- path: /admin/api/2020-10/recurring_application_charges/{recurring_application_charge_id}/usage_charges.json operations: - name: createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: POST description: Shopify Creates A Usage Charge outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: GET description: Shopify Retrieves A List Of Usage Charges outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: fields in: query type: string description: A comma-separated list of fields to include in the response. - name: admin-api-2021-01-recurring_application_charges-recurring_application_charge_id- path: /admin/api/2021-01/recurring_application_charges/{recurring_application_charge_id}/usage_charges.json operations: - name: deprecated202101createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: POST description: Shopify Creates A Usage Charge outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deprecated202101getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: GET description: Shopify Retrieves A List Of Usage Charges outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: fields in: query type: string description: A comma-separated list of fields to include in the response. - name: admin-api-unstable-recurring_application_charges-recurring_application_charge_id path: /admin/api/unstable/recurring_application_charges/{recurring_application_charge_id}/usage_charges.json operations: - name: deprecatedunstablecreaterecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: POST description: Shopify Creates A Usage Charge outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deprecatedunstablegetrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges method: GET description: Shopify Retrieves A List Of Usage Charges outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recurring_application_charge_id in: path type: string description: recurring_application_charge_id required: true - name: fields in: query type: string description: A comma-separated list of fields to include in the response. exposes: - type: rest namespace: shopify-usage-rest port: 8080 description: REST adapter for Shopify API — Usage. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/admin/api/2020-01/recurring-application-charges/{recurring-application-charge-id}/usage-charges-json name: admin-api-2020-01-recurring-application-charges-recurring-application-charge-id description: REST surface for admin-api-2020-01-recurring_application_charges-recurring_application_charge_id-. operations: - method: POST name: deprecated202001createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Creates A Usage Charge call: shopify-usage.deprecated202001createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: deprecated202001getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Retrieves A List Of Usage Charges call: shopify-usage.deprecated202001getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id fields: rest.fields outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-04/recurring-application-charges/{recurring-application-charge-id}/usage-charges-json name: admin-api-2020-04-recurring-application-charges-recurring-application-charge-id description: REST surface for admin-api-2020-04-recurring_application_charges-recurring_application_charge_id-. operations: - method: POST name: deprecated202004createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Creates A Usage Charge call: shopify-usage.deprecated202004createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: deprecated202004getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Retrieves A List Of Usage Charges call: shopify-usage.deprecated202004getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id fields: rest.fields outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-07/recurring-application-charges/{recurring-application-charge-id}/usage-charges-json name: admin-api-2020-07-recurring-application-charges-recurring-application-charge-id description: REST surface for admin-api-2020-07-recurring_application_charges-recurring_application_charge_id-. operations: - method: POST name: deprecated202007createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Creates A Usage Charge call: shopify-usage.deprecated202007createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: deprecated202007getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Retrieves A List Of Usage Charges call: shopify-usage.deprecated202007getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id fields: rest.fields outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-10/recurring-application-charges/{recurring-application-charge-id}/usage-charges-json name: admin-api-2020-10-recurring-application-charges-recurring-application-charge-id description: REST surface for admin-api-2020-10-recurring_application_charges-recurring_application_charge_id-. operations: - method: POST name: createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Creates A Usage Charge call: shopify-usage.createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Retrieves A List Of Usage Charges call: shopify-usage.getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id fields: rest.fields outputParameters: - type: object mapping: $. - path: /v1/admin/api/2021-01/recurring-application-charges/{recurring-application-charge-id}/usage-charges-json name: admin-api-2021-01-recurring-application-charges-recurring-application-charge-id description: REST surface for admin-api-2021-01-recurring_application_charges-recurring_application_charge_id-. operations: - method: POST name: deprecated202101createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Creates A Usage Charge call: shopify-usage.deprecated202101createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: deprecated202101getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Retrieves A List Of Usage Charges call: shopify-usage.deprecated202101getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id fields: rest.fields outputParameters: - type: object mapping: $. - path: /v1/admin/api/unstable/recurring-application-charges/{recurring-application-charge-id}/usage-charges-json name: admin-api-unstable-recurring-application-charges-recurring-application-charge-id description: REST surface for admin-api-unstable-recurring_application_charges-recurring_application_charge_id. operations: - method: POST name: deprecatedunstablecreaterecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Creates A Usage Charge call: shopify-usage.deprecatedunstablecreaterecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: deprecatedunstablegetrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges description: Shopify Retrieves A List Of Usage Charges call: shopify-usage.deprecatedunstablegetrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: rest.recurring_application_charge_id fields: rest.fields outputParameters: - type: object mapping: $. - type: mcp namespace: shopify-usage-mcp port: 9090 transport: http description: MCP adapter for Shopify API — Usage. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: shopify-creates-usage-charge description: Shopify Creates A Usage Charge hints: readOnly: false destructive: false idempotent: false call: shopify-usage.deprecated202001createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-usage-charges description: Shopify Retrieves A List Of Usage Charges hints: readOnly: true destructive: false idempotent: true call: shopify-usage.deprecated202001getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id fields: tools.fields outputParameters: - type: object mapping: $. - name: shopify-creates-usage-charge-2 description: Shopify Creates A Usage Charge hints: readOnly: false destructive: false idempotent: false call: shopify-usage.deprecated202004createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-usage-charges-2 description: Shopify Retrieves A List Of Usage Charges hints: readOnly: true destructive: false idempotent: true call: shopify-usage.deprecated202004getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id fields: tools.fields outputParameters: - type: object mapping: $. - name: shopify-creates-usage-charge-3 description: Shopify Creates A Usage Charge hints: readOnly: false destructive: false idempotent: false call: shopify-usage.deprecated202007createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-usage-charges-3 description: Shopify Retrieves A List Of Usage Charges hints: readOnly: true destructive: false idempotent: true call: shopify-usage.deprecated202007getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id fields: tools.fields outputParameters: - type: object mapping: $. - name: shopify-creates-usage-charge-4 description: Shopify Creates A Usage Charge hints: readOnly: false destructive: false idempotent: false call: shopify-usage.createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-usage-charges-4 description: Shopify Retrieves A List Of Usage Charges hints: readOnly: true destructive: false idempotent: true call: shopify-usage.getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id fields: tools.fields outputParameters: - type: object mapping: $. - name: shopify-creates-usage-charge-5 description: Shopify Creates A Usage Charge hints: readOnly: false destructive: false idempotent: false call: shopify-usage.deprecated202101createrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-usage-charges-5 description: Shopify Retrieves A List Of Usage Charges hints: readOnly: true destructive: false idempotent: true call: shopify-usage.deprecated202101getrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id fields: tools.fields outputParameters: - type: object mapping: $. - name: shopify-creates-usage-charge-6 description: Shopify Creates A Usage Charge hints: readOnly: false destructive: false idempotent: false call: shopify-usage.deprecatedunstablecreaterecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id body: tools.body outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-usage-charges-6 description: Shopify Retrieves A List Of Usage Charges hints: readOnly: true destructive: false idempotent: true call: shopify-usage.deprecatedunstablegetrecurringapplicationchargesparamrecurringapplicationchargeidusagecharges with: recurring_application_charge_id: tools.recurring_application_charge_id fields: tools.fields outputParameters: - type: object mapping: $.