Shopify Existing API

The Existing API from Shopify — 78 operation(s) for existing.

Operations 78

DELETE /admin/api/2020-01/storefront_access_tokens/{storefront_access_token_id}.json Shopify Deletes An Existing Storefront Access Token #
DELETE /admin/api/2020-04/storefront_access_tokens/{storefront_access_token_id}.json Shopify Deletes An Existing Storefront Access Token #
DELETE /admin/api/2020-07/storefront_access_tokens/{storefront_access_token_id}.json Shopify Deletes An Existing Storefront Access Token #
DELETE /admin/api/2020-10/storefront_access_tokens/{storefront_access_token_id}.json Shopify Deletes An Existing Storefront Access Token #
DELETE /admin/api/2021-01/storefront_access_tokens/{storefront_access_token_id}.json Shopify Deletes An Existing Storefront Access Token #
DELETE /admin/api/unstable/storefront_access_tokens/{storefront_access_token_id}.json Shopify Deletes An Existing Storefront Access Token #
PUT /admin/api/2020-01/customers/{customer_id}/addresses/{address_id}.json Shopify Updates An Existing Customer Address #
PUT /admin/api/2020-04/customers/{customer_id}/addresses/{address_id}.json Shopify Updates An Existing Customer Address #
PUT /admin/api/2020-07/customers/{customer_id}/addresses/{address_id}.json Shopify Updates An Existing Customer Address #
PUT /admin/api/2020-10/customers/{customer_id}/addresses/{address_id}.json Shopify Updates An Existing Customer Address #
PUT /admin/api/2021-01/customers/{customer_id}/addresses/{address_id}.json Shopify Updates An Existing Customer Address #
PUT /admin/api/unstable/customers/{customer_id}/addresses/{address_id}.json Shopify Updates An Existing Customer Address #
PUT /admin/api/2020-01/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json Shopify Updates An Existing Discount Code #
PUT /admin/api/2020-04/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json Shopify Updates An Existing Discount Code #
PUT /admin/api/2020-07/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json Shopify Updates An Existing Discount Code #
PUT /admin/api/2020-10/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json Shopify Updates An Existing Discount Code #
PUT /admin/api/2021-01/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json Shopify Updates An Existing Discount Code #
PUT /admin/api/unstable/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json Shopify Updates An Existing Discount Code #
GET /admin/api/2020-01/webhooks/count.json Shopify Retrieves A Count Of Existing Webhook Subscriptions #
GET /admin/api/2020-04/webhooks/count.json Shopify Retrieves A Count Of Existing Webhook Subscriptions #
GET /admin/api/2020-07/webhooks/count.json Shopify Retrieves A Count Of Existing Webhook Subscriptions #
GET /admin/api/2020-10/webhooks/count.json Shopify Retrieves A Count Of Existing Webhook Subscriptions #
GET /admin/api/2021-01/webhooks/count.json Shopify Retrieves A Count Of Existing Webhook Subscriptions #
GET /admin/api/unstable/webhooks/count.json Shopify Retrieves A Count Of Existing Webhook Subscriptions #
PUT /admin/api/2020-01/inventory_items/{inventory_item_id}.json Shopify Updates An Existing Inventory Item #
PUT /admin/api/2020-04/inventory_items/{inventory_item_id}.json Shopify Updates An Existing Inventory Item #
PUT /admin/api/2020-07/inventory_items/{inventory_item_id}.json Shopify Updates An Existing Inventory Item #
PUT /admin/api/2020-10/inventory_items/{inventory_item_id}.json Shopify Updates An Existing Inventory Item #
PUT /admin/api/2021-01/inventory_items/{inventory_item_id}.json Shopify Updates An Existing Inventory Item #
PUT /admin/api/unstable/inventory_items/{inventory_item_id}.json Shopify Updates An Existing Inventory Item #
PUT /admin/api/2020-01/redirects/{redirect_id}.json Shopify Updates An Existing Redirect #
PUT /admin/api/2020-04/redirects/{redirect_id}.json Shopify Updates An Existing Redirect #
PUT /admin/api/2020-07/redirects/{redirect_id}.json Shopify Updates An Existing Redirect #
PUT /admin/api/2020-10/redirects/{redirect_id}.json Shopify Updates An Existing Redirect #
PUT /admin/api/2021-01/redirects/{redirect_id}.json Shopify Updates An Existing Redirect #
PUT /admin/api/unstable/redirects/{redirect_id}.json Shopify Updates An Existing Redirect #
PUT /admin/api/2020-01/themes/{theme_id}.json Shopify Updates An Existing Theme #
PUT /admin/api/2020-04/themes/{theme_id}.json Shopify Updates An Existing Theme #
PUT /admin/api/2020-07/themes/{theme_id}.json Shopify Updates An Existing Theme #
PUT /admin/api/2020-10/themes/{theme_id}.json Shopify Updates An Existing Theme #
PUT /admin/api/2021-01/themes/{theme_id}.json Shopify Updates An Existing Theme #
PUT /admin/api/unstable/themes/{theme_id}.json Shopify Updates An Existing Theme #
PUT /admin/api/2020-01/gift_cards/{gift_card_id}.json Shopify Updates An Existing Gift Card #
PUT /admin/api/2020-04/gift_cards/{gift_card_id}.json Shopify Updates An Existing Gift Card #
PUT /admin/api/2020-07/gift_cards/{gift_card_id}.json Shopify Updates An Existing Gift Card #
PUT /admin/api/2020-10/gift_cards/{gift_card_id}.json Shopify Updates An Existing Gift Card #
PUT /admin/api/2021-01/gift_cards/{gift_card_id}.json Shopify Updates An Existing Gift Card #
PUT /admin/api/unstable/gift_cards/{gift_card_id}.json Shopify Updates An Existing Gift Card #
PUT /admin/api/2020-01/custom_collections/{custom_collection_id}.json Shopify Updates An Existing Custom Collection #
PUT /admin/api/2020-04/custom_collections/{custom_collection_id}.json Shopify Updates An Existing Custom Collection #
PUT /admin/api/2020-07/custom_collections/{custom_collection_id}.json Shopify Updates An Existing Custom Collection #
PUT /admin/api/2020-10/custom_collections/{custom_collection_id}.json Shopify Updates An Existing Custom Collection #
PUT /admin/api/2021-01/custom_collections/{custom_collection_id}.json Shopify Updates An Existing Custom Collection #
PUT /admin/api/unstable/custom_collections/{custom_collection_id}.json Shopify Updates An Existing Custom Collection #
PUT /admin/api/2020-01/products/{product_id}/images/{image_id}.json Shopify Modify An Existing Product Image #
PUT /admin/api/2020-04/products/{product_id}/images/{image_id}.json Shopify Modify An Existing Product Image #
PUT /admin/api/2020-07/products/{product_id}/images/{image_id}.json Shopify Modify An Existing Product Image #
PUT /admin/api/2020-10/products/{product_id}/images/{image_id}.json Shopify Modify An Existing Product Image #
PUT /admin/api/2021-01/products/{product_id}/images/{image_id}.json Shopify Modify An Existing Product Image #
PUT /admin/api/unstable/products/{product_id}/images/{image_id}.json Shopify Modify An Existing Product Image #
PUT /admin/api/2020-01/smart_collections/{smart_collection_id}.json Shopify Updates An Existing Smart Collection #
PUT /admin/api/2020-04/smart_collections/{smart_collection_id}.json Shopify Updates An Existing Smart Collection #
PUT /admin/api/2020-07/smart_collections/{smart_collection_id}.json Shopify Updates An Existing Smart Collection #
PUT /admin/api/2020-10/smart_collections/{smart_collection_id}.json Shopify Updates An Existing Smart Collection #
PUT /admin/api/2021-01/smart_collections/{smart_collection_id}.json Shopify Updates An Existing Smart Collection #
PUT /admin/api/unstable/smart_collections/{smart_collection_id}.json Shopify Updates An Existing Smart Collection #
PUT /admin/api/2020-01/checkouts/{token}.json Shopify Modifies An Existing Checkout #
PUT /admin/api/2020-04/checkouts/{token}.json Shopify Modifies An Existing Checkout #
PUT /admin/api/2020-07/checkouts/{token}.json Shopify Modifies An Existing Checkout #
PUT /admin/api/2020-10/checkouts/{token}.json Shopify Modifies An Existing Checkout #
PUT /admin/api/2021-01/checkouts/{token}.json Shopify Modifies An Existing Checkout #
PUT /admin/api/unstable/checkouts/{token}.json Shopify Modifies An Existing Checkout #
GET /admin/api/2020-01/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #
GET /admin/api/2020-04/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #
GET /admin/api/2020-07/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #
GET /admin/api/2020-10/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #
GET /admin/api/2021-01/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #
GET /admin/api/unstable/checkouts/{token}/payments/{payment_id}.json Shopify Retrieves The Payment Information For An Existing Payment #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shopify-existing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shopify-existing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shopify Admin REST About Existing API
  description: The Shopify Admin REST API lets you build apps and integrations that extend and enhance the Shopify admin. Access products, customers, orders, inventory, fulfillment, and more. Endpoints are organized by resource type and versioned by release date.
  version: 2025-01
  contact:
    name: Shopify
    url: https://shopify.dev/docs/api/admin-rest
    email: api@shopify.com
  license:
    name: Shopify API Terms
    url: https://www.shopify.com/legal/api-terms
  x-date: '2026-03-04'
servers:
- url: https://{store}.myshopify.com/admin/api/2025-01
  description: Shopify Admin REST API
  variables:
    store:
      default: my-store
      description: The Shopify store subdomain
security:
- AccessToken: []
tags:
- name: Existing
paths:
  /admin/api/2020-01/storefront_access_tokens/{storefront_access_token_id}.json:
    delete:
      summary: Shopify Deletes An Existing Storefront Access Token
      description: https://shopify.dev/docs/admin-api/rest/reference/access/storefrontaccesstoken#destroy-2020-01
      parameters:
      - in: path
        name: storefront_access_token_id
        required: true
        schema:
          type: string
        description: storefront_access_token_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_delete_storefront_access_tokens_param_storefront_access_token_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/storefront_access_tokens/{storefront_access_token_id}.json:
    delete:
      summary: Shopify Deletes An Existing Storefront Access Token
      description: https://shopify.dev/docs/admin-api/rest/reference/access/storefrontaccesstoken#destroy-2020-04
      parameters:
      - in: path
        name: storefront_access_token_id
        required: true
        schema:
          type: string
        description: storefront_access_token_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_delete_storefront_access_tokens_param_storefront_access_token_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/storefront_access_tokens/{storefront_access_token_id}.json:
    delete:
      summary: Shopify Deletes An Existing Storefront Access Token
      description: https://shopify.dev/docs/admin-api/rest/reference/access/storefrontaccesstoken#destroy-2020-07
      parameters:
      - in: path
        name: storefront_access_token_id
        required: true
        schema:
          type: string
        description: storefront_access_token_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_delete_storefront_access_tokens_param_storefront_access_token_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/storefront_access_tokens/{storefront_access_token_id}.json:
    delete:
      summary: Shopify Deletes An Existing Storefront Access Token
      description: https://shopify.dev/docs/admin-api/rest/reference/access/storefrontaccesstoken#destroy-2020-10
      parameters:
      - in: path
        name: storefront_access_token_id
        required: true
        schema:
          type: string
        description: storefront_access_token_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: delete_storefront_access_tokens_param_storefront_access_token_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/storefront_access_tokens/{storefront_access_token_id}.json:
    delete:
      summary: Shopify Deletes An Existing Storefront Access Token
      description: https://shopify.dev/docs/admin-api/rest/reference/access/storefrontaccesstoken#destroy-2021-01
      parameters:
      - in: path
        name: storefront_access_token_id
        required: true
        schema:
          type: string
        description: storefront_access_token_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_delete_storefront_access_tokens_param_storefront_access_token_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/unstable/storefront_access_tokens/{storefront_access_token_id}.json:
    delete:
      summary: Shopify Deletes An Existing Storefront Access Token
      description: https://shopify.dev/docs/admin-api/rest/reference/access/storefrontaccesstoken#destroy-unstable
      parameters:
      - in: path
        name: storefront_access_token_id
        required: true
        schema:
          type: string
        description: storefront_access_token_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_unstable_delete_storefront_access_tokens_param_storefront_access_token_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-01/customers/{customer_id}/addresses/{address_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  address:
                    id: 207119551
                    zip: '90210'
                summary: Update the postal code of a customer address
      summary: Shopify Updates An Existing Customer Address
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#update-2020-01
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      - in: path
        name: address_id
        required: true
        schema:
          type: string
        description: address_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_update_customers_param_customer_id_addresses_param_address_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/customers/{customer_id}/addresses/{address_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  address:
                    id: 207119551
                    zip: '90210'
                summary: Update the postal code of a customer address
      summary: Shopify Updates An Existing Customer Address
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#update-2020-04
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      - in: path
        name: address_id
        required: true
        schema:
          type: string
        description: address_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_update_customers_param_customer_id_addresses_param_address_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/customers/{customer_id}/addresses/{address_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  address:
                    id: 207119551
                    zip: '90210'
                summary: Update the postal code of a customer address
      summary: Shopify Updates An Existing Customer Address
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#update-2020-07
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      - in: path
        name: address_id
        required: true
        schema:
          type: string
        description: address_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_update_customers_param_customer_id_addresses_param_address_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/customers/{customer_id}/addresses/{address_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  address:
                    id: 207119551
                    zip: '90210'
                summary: Update the postal code of a customer address
      summary: Shopify Updates An Existing Customer Address
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#update-2020-10
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      - in: path
        name: address_id
        required: true
        schema:
          type: string
        description: address_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: update_customers_param_customer_id_addresses_param_address_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/customers/{customer_id}/addresses/{address_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  address:
                    id: 207119551
                    zip: '90210'
                summary: Update the postal code of a customer address
      summary: Shopify Updates An Existing Customer Address
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#update-2021-01
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      - in: path
        name: address_id
        required: true
        schema:
          type: string
        description: address_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_update_customers_param_customer_id_addresses_param_address_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/unstable/customers/{customer_id}/addresses/{address_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  address:
                    id: 207119551
                    zip: '90210'
                summary: Update the postal code of a customer address
      summary: Shopify Updates An Existing Customer Address
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#update-unstable
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      - in: path
        name: address_id
        required: true
        schema:
          type: string
        description: address_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_unstable_update_customers_param_customer_id_addresses_param_address_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-01/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  discount_code:
                    id: 507328175
                    code: WINTERSALE20OFF
                    usage_count: 0
                    created_at: '2020-11-04T16:46:58-05:00'
                    updated_at: '2020-11-04T16:46:58-05:00'
                summary: Update the code for a discount
      summary: Shopify Updates An Existing Discount Code
      description: https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#update-2020-01
      parameters:
      - in: path
        name: price_rule_id
        required: true
        schema:
          type: string
        description: price_rule_id
      - in: path
        name: discount_code_id
        required: true
        schema:
          type: string
        description: discount_code_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_update_price_rules_param_price_rule_id_discount_codes_param_discount_code_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  discount_code:
                    id: 507328175
                    code: WINTERSALE20OFF
                    usage_count: 0
                    created_at: '2020-11-04T16:46:58-05:00'
                    updated_at: '2020-11-04T16:46:58-05:00'
                summary: Update the code for a discount
      summary: Shopify Updates An Existing Discount Code
      description: https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#update-2020-04
      parameters:
      - in: path
        name: price_rule_id
        required: true
        schema:
          type: string
        description: price_rule_id
      - in: path
        name: discount_code_id
        required: true
        schema:
          type: string
        description: discount_code_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_update_price_rules_param_price_rule_id_discount_codes_param_discount_code_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  discount_code:
                    id: 507328175
                    code: WINTERSALE20OFF
                    usage_count: 0
                    created_at: '2020-11-04T16:46:58-05:00'
                    updated_at: '2020-11-04T16:46:58-05:00'
                summary: Update the code for a discount
      summary: Shopify Updates An Existing Discount Code
      description: https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#update-2020-07
      parameters:
      - in: path
        name: price_rule_id
        required: true
        schema:
          type: string
        description: price_rule_id
      - in: path
        name: discount_code_id
        required: true
        schema:
          type: string
        description: discount_code_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_update_price_rules_param_price_rule_id_discount_codes_param_discount_code_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  discount_code:
                    id: 507328175
                    code: WINTERSALE20OFF
                    usage_count: 0
                    created_at: '2020-11-04T16:46:58-05:00'
                    updated_at: '2020-11-04T16:46:58-05:00'
                summary: Update the code for a discount
      summary: Shopify Updates An Existing Discount Code
      description: https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#update-2020-10
      parameters:
      - in: path
        name: price_rule_id
        required: true
        schema:
          type: string
        description: price_rule_id
      - in: path
        name: discount_code_id
        required: true
        schema:
          type: string
        description: discount_code_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: update_price_rules_param_price_rule_id_discount_codes_param_discount_code_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  discount_code:
                    id: 507328175
                    code: WINTERSALE20OFF
                    usage_count: 0
                    created_at: '2020-11-04T16:46:58-05:00'
                    updated_at: '2020-11-04T16:46:58-05:00'
                summary: Update the code for a discount
      summary: Shopify Updates An Existing Discount Code
      description: https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#update-2021-01
      parameters:
      - in: path
        name: price_rule_id
        required: true
        schema:
          type: string
        description: price_rule_id
      - in: path
        name: discount_code_id
        required: true
        schema:
          type: string
        description: discount_code_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_update_price_rules_param_price_rule_id_discount_codes_param_discount_code_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/unstable/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  discount_code:
                    id: 507328175
                    code: WINTERSALE20OFF
                    usage_count: 0
                    created_at: '2020-11-04T16:46:58-05:00'
                    updated_at: '2020-11-04T16:46:58-05:00'
                summary: Update the code for a discount
      summary: Shopify Updates An Existing Discount Code
      description: https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#update-unstable
      parameters:
      - in: path
        name: price_rule_id
        required: true
        schema:
          type: string
        description: price_rule_id
      - in: path
        name: discount_code_id
        required: true
        schema:
          type: string
        description: discount_code_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_unstable_update_price_rules_param_price_rule_id_discount_codes_param_discount_code_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-01/webhooks/count.json:
    get:
      summary: Shopify Retrieves A Count Of Existing Webhook Subscriptions
      description: https://shopify.dev/docs/admin-api/rest/reference/events/webhook#count-2020-01
      parameters:
      - in: query
        name: address
        description: Retrieve webhook subscriptions that send the POST request to this URI.
        schema: {}
        required: false
      - in: query
        name: topic
        description: 'Show webhook subscriptions with a given topic.

          For a list of valid values, refer to the topic property.>'
        schema: {}
        required: false
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_get_webhooks_count
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/webhooks/count.json:
    get:
      summary: Shopify Retrieves A Count Of Existing Webhook Subscriptions
      description: https://shopify.dev/docs/admin-api/rest/reference/events/webhook#count-2020-04
      parameters:
      - in: query
        name: address
        description: Retrieve webhook subscriptions that send the POST request to this URI.
        schema: {}
        required: false
      - in: query
        name: topic
        description: 'Show webhook subscriptions with a given topic.

          For a list of valid values, refer to the topic property.>'
        schema: {}
        required: false
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_get_webhooks_count
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/webhooks/count.json:
    get:
      summary: Shopify Retrieves A Count Of Existing Webhook Subscriptions
      description: https://shopify.dev/docs/admin-api/rest/reference/events/webhook#count-2020-07
      parameters:
      - in: query
        name: address
        description: Retrieve webhook subscriptions that send the POST request to this URI.
        schema: {}
        required: false
      - in: query
        name: topic
        description: 'Show webhook subscriptions with a given topic.

          For a list of valid values, refer to the topic property.>'
        schema: {}
        required: false
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_get_webhooks_count
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/webhooks/count.json:
    get:
      summary: Shopify Retrieves A Count Of Existing Webhook Subscriptions
      description: https://shopify.dev/docs/admin-api/rest/reference/events/webhook#count-2020-10
      parameters:
      - in: query
        name: address
        description: Retrieve webhook subscriptions that send the POST request to this URI.
        schema: {}
        required: false
      - in: query
        name: topic
        description: 'Show webhook subscriptions with a given topic.

          For a list of valid values, refer to the topic property.>'
        schema: {}
        required: false
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: get_webhooks_count
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/webhooks/count.json:
    get:
      summary: Shopify Retrieves A Count Of Existing Webhook Subscriptions
      description: https://shopify.dev/docs/admin-api/rest/reference/events/webhook#count-2021-01
      parameters:
      - in: query
        name: address
        description: Retrieve webhook subscriptions that send the POST request to this URI.
        schema: {}
        required: false
      - in: query
        name: topic
        description: 'Show webhook subscriptions with a given topic.

          For a list of valid values, refer to the topic property.>'
        schema: {}
        required: false
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_get_webhooks_count
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/unstable/webhooks/count.json:
    get:
      summary: Shopify Retrieves A Count Of Existing Webhook Subscriptions
      description: https://shopify.dev/docs/admin-api/rest/reference/events/webhook#count-unstable
      parameters:
      - in: query
        name: address
        description: Retrieve webhook subscriptions that send the POST request to this URI.
        schema: {}
        required: false
      - in: query
        name: topic
        description: 'Show webhook subscriptions with a given topic.

          For a list of valid values, refer to the topic property.>'
        schema: {}
        required: false
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_unstable_get_webhooks_count
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-01/inventory_items/{inventory_item_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  inventory_item:
                    id: 808950810
                    sku: new sku
                summary: Update an inventory item's SKU
              example2:
                value:
                  inventory_item:
                    id: 808950810
                    cost: '25.00'
                summary: Update an inventory item's unit cost
      summary: Shopify Updates An Existing Inventory Item
      description: https://shopify.dev/docs/admin-api/rest/reference/inventory/inventoryitem#update-2020-01
      parameters:
      - in: path
        name: inventory_item_id
        required: true
        schema:
          type: string
        description: inventory_item_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_update_inventory_items_param_inventory_item_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/inventory_items/{inventory_item_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  inventory_item:
                    id: 808950810
                    sku: new sku
                summary: Update an inventory item's SKU
              example2:
                value:
                  inventory_item:
                    id: 808950810
                    cost: '25.00'
                summary: Update an inventory item's unit cost
      summary: Shopify Updates An Existing Inventory Item
      description: https://shopify.dev/docs/admin-api/rest/reference/inventory/inventoryitem#update-2020-04
      parameters:
      - in: path
        name: inventory_item_id
        required: true
        schema:
          type: string
        description: inventory_item_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_update_inventory_items_param_inventory_item_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/inventory_items/{inventory_item_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  inventory_item:
                    id: 808950810
                    sku: new sku
                summary: Update an inventory item's SKU
              example2:
                value:
                  inventory_item:
                    id: 808950810
                    cost: '25.00'
                summary: Update an inventory item's unit cost
      summary: Shopify Updates An Existing Inventory Item
      description: https://shopify.dev/docs/admin-api/rest/reference/inventory/inventoryitem#update-2020-07
      parameters:
      - in: path
        name: inventory_item_id
        required: true
        schema:
          type: string
        description: inventory_item_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_update_inventory_items_param_inventory_item_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/inventory_items/{inventory_item_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  inventory_item:
                    id: 808950810
                    sku: new sku
                summary: Update an inventory item's SKU
              example2:
                value:
                  inventory_item:
                    id: 808950810
                    cost: '25.00'
                summary: Update an inventory item's unit cost
      summary: Shopify Updates An Existing Inventory Item
      description: https://shopify.dev/docs/admin-api/rest/reference/inventory/inventoryitem#update-2020-10
      parameters:
      - in: path
        name: inventory_item_id
        required: true
        schema:
          type: string
        description: inventory_item_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: update_inventory_items_param_inventory_item_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/inventory_items/{inventory_item_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  inventory_item:
                    id: 808950810
                    sku: new sku
                summary: Update an inventory item's SKU
              example2:
                value:
                  inventory_item:
                    id: 808950810
                    cost: '25.00'
                summary: Update an inventory item's unit cost
      summary: Shopify Updates An Existing Inventory Item
      description: https://shopify.dev/docs/admin-api/rest/reference/inventory/inventoryitem#update-2021-01
      parameters:
      - in: path
        name: inventory_item_id
        required: true
        schema:
          type: string
        description: inventory_item_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_update_inventory_items_param_inventory_item_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/unstable/inventory_items/{inventory_item_id}.json:
    put:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value:
                  inventory_item:
                    id: 808950810
                    sku: new sku
                summary: Update an inventory item's SKU
              example2:
                value:
                  inventory_item:
                    id: 808950810
                    cost: '25.00'
                summary: Update an inventory item's unit cost
      summary: Shopify Updates An Existing Inventory Item
      description: https://shopify.dev/docs/admin-api/rest/reference/inventory/inventoryitem#update-unstable
      parameters:
      - in: path
        name: inventory_item_id
        required: true
        schema:
          type: string
        description: inventory_item_id
      tags:
      - Existing
      responses:
        '200':
          description: ''
      operationId: deprecated_unstable_update_inventory_items_param_inventory_item_id
      x-api-evangelist-processing:
        PascalCaseOp

# --- truncated at 32 KB (310 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/shopify/refs/heads/main/openapi/shopify-existing-api-openapi.yml