Shopify · Capability

Shopify API — Jobs

Shopify API — Jobs. 18 operations. Lead operation: Shopify Creates A Discount Code Creation Job. Self-contained Naftiko capability covering one Shopify business surface.

Run with Naftiko ShopifyJobs

What You Can Do

POST
Deprecated202001createpricerulesparampriceruleidbatch — Shopify Creates A Discount Code Creation Job
/v1/admin/api/2020-01/price-rules/{price-rule-id}/batch-json
GET
Deprecated202001getpricerulesparampriceruleidbatchparambatchid — Shopify Retrieves A Discount Code Creation Job
/v1/admin/api/2020-01/price-rules/{price-rule-id}/batch/batch-id-json
GET
Deprecated202001getpricerulesparampriceruleidbatchparambatchiddiscountcodes — Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
/v1/admin/api/2020-01/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json
POST
Deprecated202004createpricerulesparampriceruleidbatch — Shopify Creates A Discount Code Creation Job
/v1/admin/api/2020-04/price-rules/{price-rule-id}/batch-json
GET
Deprecated202004getpricerulesparampriceruleidbatchparambatchid — Shopify Retrieves A Discount Code Creation Job
/v1/admin/api/2020-04/price-rules/{price-rule-id}/batch/batch-id-json
GET
Deprecated202004getpricerulesparampriceruleidbatchparambatchiddiscountcodes — Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
/v1/admin/api/2020-04/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json
POST
Deprecated202007createpricerulesparampriceruleidbatch — Shopify Creates A Discount Code Creation Job
/v1/admin/api/2020-07/price-rules/{price-rule-id}/batch-json
GET
Deprecated202007getpricerulesparampriceruleidbatchparambatchid — Shopify Retrieves A Discount Code Creation Job
/v1/admin/api/2020-07/price-rules/{price-rule-id}/batch/batch-id-json
GET
Deprecated202007getpricerulesparampriceruleidbatchparambatchiddiscountcodes — Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
/v1/admin/api/2020-07/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json
POST
Createpricerulesparampriceruleidbatch — Shopify Creates A Discount Code Creation Job
/v1/admin/api/2020-10/price-rules/{price-rule-id}/batch-json
GET
Getpricerulesparampriceruleidbatchparambatchid — Shopify Retrieves A Discount Code Creation Job
/v1/admin/api/2020-10/price-rules/{price-rule-id}/batch/batch-id-json
GET
Getpricerulesparampriceruleidbatchparambatchiddiscountcodes — Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
/v1/admin/api/2020-10/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json
POST
Deprecated202101createpricerulesparampriceruleidbatch — Shopify Creates A Discount Code Creation Job
/v1/admin/api/2021-01/price-rules/{price-rule-id}/batch-json
GET
Deprecated202101getpricerulesparampriceruleidbatchparambatchid — Shopify Retrieves A Discount Code Creation Job
/v1/admin/api/2021-01/price-rules/{price-rule-id}/batch/batch-id-json
GET
Deprecated202101getpricerulesparampriceruleidbatchparambatchiddiscountcodes — Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
/v1/admin/api/2021-01/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json
POST
Deprecatedunstablecreatepricerulesparampriceruleidbatch — Shopify Creates A Discount Code Creation Job
/v1/admin/api/unstable/price-rules/{price-rule-id}/batch-json
GET
Deprecatedunstablegetpricerulesparampriceruleidbatchparambatchid — Shopify Retrieves A Discount Code Creation Job
/v1/admin/api/unstable/price-rules/{price-rule-id}/batch/batch-id-json
GET
Deprecatedunstablegetpricerulesparampriceruleidbatchparambatchiddiscountcodes — Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
/v1/admin/api/unstable/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json

MCP Tools

shopify-creates-discount-code-creation

Shopify Creates A Discount Code Creation Job

shopify-retrieves-discount-code-creation

Shopify Retrieves A Discount Code Creation Job

read-only idempotent
shopify-retrieves-list-discount-codes

Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job

read-only idempotent
shopify-creates-discount-code-creation-2

Shopify Creates A Discount Code Creation Job

shopify-retrieves-discount-code-creation-2

Shopify Retrieves A Discount Code Creation Job

read-only idempotent
shopify-retrieves-list-discount-codes-2

Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job

read-only idempotent
shopify-creates-discount-code-creation-3

Shopify Creates A Discount Code Creation Job

shopify-retrieves-discount-code-creation-3

Shopify Retrieves A Discount Code Creation Job

read-only idempotent
shopify-retrieves-list-discount-codes-3

Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job

read-only idempotent
shopify-creates-discount-code-creation-4

Shopify Creates A Discount Code Creation Job

shopify-retrieves-discount-code-creation-4

Shopify Retrieves A Discount Code Creation Job

read-only idempotent
shopify-retrieves-list-discount-codes-4

Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job

read-only idempotent
shopify-creates-discount-code-creation-5

Shopify Creates A Discount Code Creation Job

shopify-retrieves-discount-code-creation-5

Shopify Retrieves A Discount Code Creation Job

read-only idempotent
shopify-retrieves-list-discount-codes-5

Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job

read-only idempotent
shopify-creates-discount-code-creation-6

Shopify Creates A Discount Code Creation Job

shopify-retrieves-discount-code-creation-6

Shopify Retrieves A Discount Code Creation Job

read-only idempotent
shopify-retrieves-list-discount-codes-6

Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job

read-only idempotent

Capability Spec

shopify-jobs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Shopify  API — Jobs
  description: 'Shopify  API — Jobs. 18 operations. Lead operation: Shopify Creates A Discount Code Creation Job. Self-contained
    Naftiko capability covering one Shopify business surface.'
  tags:
  - Shopify
  - Jobs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SHOPIFY_API_KEY: SHOPIFY_API_KEY
capability:
  consumes:
  - type: http
    namespace: shopify-jobs
    baseUri: ''
    description: Shopify  API — Jobs business capability. Self-contained, no shared references.
    resources:
    - name: admin-api-2020-01-price_rules-price_rule_id-batch.json
      path: /admin/api/2020-01/price_rules/{price_rule_id}/batch.json
      operations:
      - name: deprecated202001createpricerulesparampriceruleidbatch
        method: POST
        description: Shopify Creates A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-01-price_rules-price_rule_id-batch-batch_id}.json
      path: /admin/api/2020-01/price_rules/{price_rule_id}/batch/{batch_id}.json
      operations:
      - name: deprecated202001getpricerulesparampriceruleidbatchparambatchid
        method: GET
        description: Shopify Retrieves A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
    - name: admin-api-2020-01-price_rules-price_rule_id-batch-batch_id-discount_codes.json
      path: /admin/api/2020-01/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
      operations:
      - name: deprecated202001getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        method: GET
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
    - name: admin-api-2020-04-price_rules-price_rule_id-batch.json
      path: /admin/api/2020-04/price_rules/{price_rule_id}/batch.json
      operations:
      - name: deprecated202004createpricerulesparampriceruleidbatch
        method: POST
        description: Shopify Creates A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-04-price_rules-price_rule_id-batch-batch_id}.json
      path: /admin/api/2020-04/price_rules/{price_rule_id}/batch/{batch_id}.json
      operations:
      - name: deprecated202004getpricerulesparampriceruleidbatchparambatchid
        method: GET
        description: Shopify Retrieves A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
    - name: admin-api-2020-04-price_rules-price_rule_id-batch-batch_id-discount_codes.json
      path: /admin/api/2020-04/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
      operations:
      - name: deprecated202004getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        method: GET
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
    - name: admin-api-2020-07-price_rules-price_rule_id-batch.json
      path: /admin/api/2020-07/price_rules/{price_rule_id}/batch.json
      operations:
      - name: deprecated202007createpricerulesparampriceruleidbatch
        method: POST
        description: Shopify Creates A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-07-price_rules-price_rule_id-batch-batch_id}.json
      path: /admin/api/2020-07/price_rules/{price_rule_id}/batch/{batch_id}.json
      operations:
      - name: deprecated202007getpricerulesparampriceruleidbatchparambatchid
        method: GET
        description: Shopify Retrieves A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
    - name: admin-api-2020-07-price_rules-price_rule_id-batch-batch_id-discount_codes.json
      path: /admin/api/2020-07/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
      operations:
      - name: deprecated202007getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        method: GET
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
    - name: admin-api-2020-10-price_rules-price_rule_id-batch.json
      path: /admin/api/2020-10/price_rules/{price_rule_id}/batch.json
      operations:
      - name: createpricerulesparampriceruleidbatch
        method: POST
        description: Shopify Creates A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-10-price_rules-price_rule_id-batch-batch_id}.json
      path: /admin/api/2020-10/price_rules/{price_rule_id}/batch/{batch_id}.json
      operations:
      - name: getpricerulesparampriceruleidbatchparambatchid
        method: GET
        description: Shopify Retrieves A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
    - name: admin-api-2020-10-price_rules-price_rule_id-batch-batch_id-discount_codes.json
      path: /admin/api/2020-10/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
      operations:
      - name: getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        method: GET
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
    - name: admin-api-2021-01-price_rules-price_rule_id-batch.json
      path: /admin/api/2021-01/price_rules/{price_rule_id}/batch.json
      operations:
      - name: deprecated202101createpricerulesparampriceruleidbatch
        method: POST
        description: Shopify Creates A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2021-01-price_rules-price_rule_id-batch-batch_id}.json
      path: /admin/api/2021-01/price_rules/{price_rule_id}/batch/{batch_id}.json
      operations:
      - name: deprecated202101getpricerulesparampriceruleidbatchparambatchid
        method: GET
        description: Shopify Retrieves A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
    - name: admin-api-2021-01-price_rules-price_rule_id-batch-batch_id-discount_codes.json
      path: /admin/api/2021-01/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
      operations:
      - name: deprecated202101getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        method: GET
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
    - name: admin-api-unstable-price_rules-price_rule_id-batch.json
      path: /admin/api/unstable/price_rules/{price_rule_id}/batch.json
      operations:
      - name: deprecatedunstablecreatepricerulesparampriceruleidbatch
        method: POST
        description: Shopify Creates A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-unstable-price_rules-price_rule_id-batch-batch_id}.json
      path: /admin/api/unstable/price_rules/{price_rule_id}/batch/{batch_id}.json
      operations:
      - name: deprecatedunstablegetpricerulesparampriceruleidbatchparambatchid
        method: GET
        description: Shopify Retrieves A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
    - name: admin-api-unstable-price_rules-price_rule_id-batch-batch_id-discount_codes.json
      path: /admin/api/unstable/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
      operations:
      - name: deprecatedunstablegetpricerulesparampriceruleidbatchparambatchiddiscountcodes
        method: GET
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: price_rule_id
          in: path
          type: string
          description: price_rule_id
          required: true
        - name: batch_id
          in: path
          type: string
          description: batch_id
          required: true
  exposes:
  - type: rest
    namespace: shopify-jobs-rest
    port: 8080
    description: REST adapter for Shopify  API — Jobs. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/admin/api/2020-01/price-rules/{price-rule-id}/batch-json
      name: admin-api-2020-01-price-rules-price-rule-id-batch-json
      description: REST surface for admin-api-2020-01-price_rules-price_rule_id-batch.json.
      operations:
      - method: POST
        name: deprecated202001createpricerulesparampriceruleidbatch
        description: Shopify Creates A Discount Code Creation Job
        call: shopify-jobs.deprecated202001createpricerulesparampriceruleidbatch
        with:
          price_rule_id: rest.price_rule_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-01/price-rules/{price-rule-id}/batch/batch-id-json
      name: admin-api-2020-01-price-rules-price-rule-id-batch-batch-id-json
      description: REST surface for admin-api-2020-01-price_rules-price_rule_id-batch-batch_id}.json.
      operations:
      - method: GET
        name: deprecated202001getpricerulesparampriceruleidbatchparambatchid
        description: Shopify Retrieves A Discount Code Creation Job
        call: shopify-jobs.deprecated202001getpricerulesparampriceruleidbatchparambatchid
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-01/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json
      name: admin-api-2020-01-price-rules-price-rule-id-batch-batch-id-discount-codes-json
      description: REST surface for admin-api-2020-01-price_rules-price_rule_id-batch-batch_id-discount_codes.json.
      operations:
      - method: GET
        name: deprecated202001getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        call: shopify-jobs.deprecated202001getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-04/price-rules/{price-rule-id}/batch-json
      name: admin-api-2020-04-price-rules-price-rule-id-batch-json
      description: REST surface for admin-api-2020-04-price_rules-price_rule_id-batch.json.
      operations:
      - method: POST
        name: deprecated202004createpricerulesparampriceruleidbatch
        description: Shopify Creates A Discount Code Creation Job
        call: shopify-jobs.deprecated202004createpricerulesparampriceruleidbatch
        with:
          price_rule_id: rest.price_rule_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-04/price-rules/{price-rule-id}/batch/batch-id-json
      name: admin-api-2020-04-price-rules-price-rule-id-batch-batch-id-json
      description: REST surface for admin-api-2020-04-price_rules-price_rule_id-batch-batch_id}.json.
      operations:
      - method: GET
        name: deprecated202004getpricerulesparampriceruleidbatchparambatchid
        description: Shopify Retrieves A Discount Code Creation Job
        call: shopify-jobs.deprecated202004getpricerulesparampriceruleidbatchparambatchid
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-04/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json
      name: admin-api-2020-04-price-rules-price-rule-id-batch-batch-id-discount-codes-json
      description: REST surface for admin-api-2020-04-price_rules-price_rule_id-batch-batch_id-discount_codes.json.
      operations:
      - method: GET
        name: deprecated202004getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        call: shopify-jobs.deprecated202004getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-07/price-rules/{price-rule-id}/batch-json
      name: admin-api-2020-07-price-rules-price-rule-id-batch-json
      description: REST surface for admin-api-2020-07-price_rules-price_rule_id-batch.json.
      operations:
      - method: POST
        name: deprecated202007createpricerulesparampriceruleidbatch
        description: Shopify Creates A Discount Code Creation Job
        call: shopify-jobs.deprecated202007createpricerulesparampriceruleidbatch
        with:
          price_rule_id: rest.price_rule_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-07/price-rules/{price-rule-id}/batch/batch-id-json
      name: admin-api-2020-07-price-rules-price-rule-id-batch-batch-id-json
      description: REST surface for admin-api-2020-07-price_rules-price_rule_id-batch-batch_id}.json.
      operations:
      - method: GET
        name: deprecated202007getpricerulesparampriceruleidbatchparambatchid
        description: Shopify Retrieves A Discount Code Creation Job
        call: shopify-jobs.deprecated202007getpricerulesparampriceruleidbatchparambatchid
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-07/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json
      name: admin-api-2020-07-price-rules-price-rule-id-batch-batch-id-discount-codes-json
      description: REST surface for admin-api-2020-07-price_rules-price_rule_id-batch-batch_id-discount_codes.json.
      operations:
      - method: GET
        name: deprecated202007getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        call: shopify-jobs.deprecated202007getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-10/price-rules/{price-rule-id}/batch-json
      name: admin-api-2020-10-price-rules-price-rule-id-batch-json
      description: REST surface for admin-api-2020-10-price_rules-price_rule_id-batch.json.
      operations:
      - method: POST
        name: createpricerulesparampriceruleidbatch
        description: Shopify Creates A Discount Code Creation Job
        call: shopify-jobs.createpricerulesparampriceruleidbatch
        with:
          price_rule_id: rest.price_rule_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-10/price-rules/{price-rule-id}/batch/batch-id-json
      name: admin-api-2020-10-price-rules-price-rule-id-batch-batch-id-json
      description: REST surface for admin-api-2020-10-price_rules-price_rule_id-batch-batch_id}.json.
      operations:
      - method: GET
        name: getpricerulesparampriceruleidbatchparambatchid
        description: Shopify Retrieves A Discount Code Creation Job
        call: shopify-jobs.getpricerulesparampriceruleidbatchparambatchid
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-10/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json
      name: admin-api-2020-10-price-rules-price-rule-id-batch-batch-id-discount-codes-json
      description: REST surface for admin-api-2020-10-price_rules-price_rule_id-batch-batch_id-discount_codes.json.
      operations:
      - method: GET
        name: getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        call: shopify-jobs.getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2021-01/price-rules/{price-rule-id}/batch-json
      name: admin-api-2021-01-price-rules-price-rule-id-batch-json
      description: REST surface for admin-api-2021-01-price_rules-price_rule_id-batch.json.
      operations:
      - method: POST
        name: deprecated202101createpricerulesparampriceruleidbatch
        description: Shopify Creates A Discount Code Creation Job
        call: shopify-jobs.deprecated202101createpricerulesparampriceruleidbatch
        with:
          price_rule_id: rest.price_rule_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2021-01/price-rules/{price-rule-id}/batch/batch-id-json
      name: admin-api-2021-01-price-rules-price-rule-id-batch-batch-id-json
      description: REST surface for admin-api-2021-01-price_rules-price_rule_id-batch-batch_id}.json.
      operations:
      - method: GET
        name: deprecated202101getpricerulesparampriceruleidbatchparambatchid
        description: Shopify Retrieves A Discount Code Creation Job
        call: shopify-jobs.deprecated202101getpricerulesparampriceruleidbatchparambatchid
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2021-01/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json
      name: admin-api-2021-01-price-rules-price-rule-id-batch-batch-id-discount-codes-json
      description: REST surface for admin-api-2021-01-price_rules-price_rule_id-batch-batch_id-discount_codes.json.
      operations:
      - method: GET
        name: deprecated202101getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        call: shopify-jobs.deprecated202101getpricerulesparampriceruleidbatchparambatchiddiscountcodes
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/unstable/price-rules/{price-rule-id}/batch-json
      name: admin-api-unstable-price-rules-price-rule-id-batch-json
      description: REST surface for admin-api-unstable-price_rules-price_rule_id-batch.json.
      operations:
      - method: POST
        name: deprecatedunstablecreatepricerulesparampriceruleidbatch
        description: Shopify Creates A Discount Code Creation Job
        call: shopify-jobs.deprecatedunstablecreatepricerulesparampriceruleidbatch
        with:
          price_rule_id: rest.price_rule_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/unstable/price-rules/{price-rule-id}/batch/batch-id-json
      name: admin-api-unstable-price-rules-price-rule-id-batch-batch-id-json
      description: REST surface for admin-api-unstable-price_rules-price_rule_id-batch-batch_id}.json.
      operations:
      - method: GET
        name: deprecatedunstablegetpricerulesparampriceruleidbatchparambatchid
        description: Shopify Retrieves A Discount Code Creation Job
        call: shopify-jobs.deprecatedunstablegetpricerulesparampriceruleidbatchparambatchid
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/unstable/price-rules/{price-rule-id}/batch/{batch-id}/discount-codes-json
      name: admin-api-unstable-price-rules-price-rule-id-batch-batch-id-discount-codes-json
      description: REST surface for admin-api-unstable-price_rules-price_rule_id-batch-batch_id-discount_codes.json.
      operations:
      - method: GET
        name: deprecatedunstablegetpricerulesparampriceruleidbatchparambatchiddiscountcodes
        description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
        call: shopify-jobs.deprecatedunstablegetpricerulesparampriceruleidbatchparambatchiddiscountcodes
        with:
          price_rule_id: rest.price_rule_id
          batch_id: rest.batch_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: shopify-jobs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Shopify  API — Jobs. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: shopify-creates-discount-code-creation
      description: Shopify Creates A Discount Code Creation Job
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shopify-jobs.deprecated202001createpricerulesparampriceruleidbatch
      with:
        price_rule_id: tools.price_rule_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-retrieves-discount-code-creation
      description: Shopify Retrieves A Discount Code Creation Job
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-jobs.deprecated202001getpricerulesparampriceruleidbatchparambatchid
      with:
        price_rule_id: tools.price_rule_id
        batch_id: tools.batch_id
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-retrieves-list-discount-codes
      description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-jobs.deprecated202001getpricerulesparampriceruleidbatchparambatchiddiscountcodes
      with:
        price_rule_id: tools.price_rule_id
        batch_id: tools.batch_id
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-creates-discount-code-creation-2
      description: Shopify Creates A Discount Code Creation Job
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shopify-jobs.deprecated202004createpricerulesparampriceruleidbatch
      with:
        price_rule_id: tools.price_rule_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-retrieves-discount-code-creation-2
      description: Shopify Retrieves A Discount Code Creation Job
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-jobs.deprecated202004getpricerulesparampriceruleidbatchparambatchid
      with:
        price_rule_id: tools.price_rule_id
        batch_id: tools.batch_id
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-retrieves-list-discount-codes-2
      description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-jobs.deprecated202004getpricerulesparampriceruleidbatchparambatchiddiscountcodes
      with:
        price_rule_id: tools.price_rule_id
        batch_id: tools.batch_id
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-creates-discount-code-creation-3
      description: Shopify Creates A Discount Code Creation Job
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shopify-jobs.deprecated202007createpricerulesparampriceruleidbatch
      with:
        price_rule_id: tools.price_rule_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-retrieves-discount-code-creation-3
      description: Shopify Retrieves A Discount Code Creation Job
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-jobs.deprecated202007getpricerulesparampriceruleidbatchparambatchid
      with:
        price_rule_id: tools.price_rule_id
        batch_id: tools.batch_id
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-retrieves-list-discount-codes-3
      description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-jobs.deprecated202007getpricerulesparampriceruleidbatchparambatchiddiscountcodes
      with:
        price_rule_id: tools.price_rule_id
        batch_id: tools.batch_id
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-creates-discount-code-creation-4
      description: Shopify Creates A Discount Code Creation Job
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shopify-jobs.createpricerulesparampriceruleidbatch
      with:
        price_rule_id: tools.price_rule_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-retrieves-discount-code-creation-4
      description: Shopify Retrieves A Discount Code Creation Job
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-jobs.getpricerulesparampriceruleidbatchparambatchid
      with:
        price_rule_id: tools.price_rule_id
        batch_id: tools.batch_id
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-retrieves-list-discount-codes-4
      description: Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-jobs.getpricerulesparampriceruleidbatchparambatchiddiscountcodes
      with:
  

# --- truncated at 32 KB (34 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/shopify/refs/heads/main/capabilities/shopify-jobs.yaml