Shopify Belonging API

The Belonging API from Shopify — 12 operation(s) for belonging.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

shopify-belonging-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Shopify Admin REST About Belonging 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: Belonging
paths:
  /admin/api/2020-01/customers/{customer_id}/orders.json:
    get:
      summary: Shopify Retrieves All Orders Belonging To A Customer
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer#orders-2020-01
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_get_customers_param_customer_id_orders
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/customers/{customer_id}/orders.json:
    get:
      summary: Shopify Retrieves All Orders Belonging To A Customer
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer#orders-2020-04
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_get_customers_param_customer_id_orders
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/customers/{customer_id}/orders.json:
    get:
      summary: Shopify Retrieves All Orders Belonging To A Customer
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer#orders-2020-07
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_get_customers_param_customer_id_orders
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/customers/{customer_id}/orders.json:
    get:
      summary: Shopify Retrieves All Orders Belonging To A Customer
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer#orders-2020-10
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: get_customers_param_customer_id_orders
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/customers/{customer_id}/orders.json:
    get:
      summary: Shopify Retrieves All Orders Belonging To A Customer
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer#orders-2021-01
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_get_customers_param_customer_id_orders
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/unstable/customers/{customer_id}/orders.json:
    get:
      summary: Shopify Retrieves All Orders Belonging To A Customer
      description: https://shopify.dev/docs/admin-api/rest/reference/customers/customer#orders-unstable
      parameters:
      - in: path
        name: customer_id
        required: true
        schema:
          type: string
        description: customer_id
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: deprecated_unstable_get_customers_param_customer_id_orders
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-01/collections/{collection_id}/products.json:
    get:
      summary: Shopify Retrieve A List Of Products Belonging To A Collection
      description: https://shopify.dev/docs/admin-api/rest/reference/products/collection#products-2020-01
      parameters:
      - in: path
        name: collection_id
        required: true
        schema:
          type: string
        description: collection_id
      - in: query
        name: limit
        description: "The number of products to retrieve.\n                  (default: 50, maximum: 250)"
        schema: {}
        required: false
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_get_collections_param_collection_id_products
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/collections/{collection_id}/products.json:
    get:
      summary: Shopify Retrieve A List Of Products Belonging To A Collection
      description: https://shopify.dev/docs/admin-api/rest/reference/products/collection#products-2020-04
      parameters:
      - in: path
        name: collection_id
        required: true
        schema:
          type: string
        description: collection_id
      - in: query
        name: limit
        description: "The number of products to retrieve.\n                  (default: 50, maximum: 250)"
        schema: {}
        required: false
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_get_collections_param_collection_id_products
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/collections/{collection_id}/products.json:
    get:
      summary: Shopify Retrieve A List Of Products Belonging To A Collection
      description: https://shopify.dev/docs/admin-api/rest/reference/products/collection#products-2020-07
      parameters:
      - in: path
        name: collection_id
        required: true
        schema:
          type: string
        description: collection_id
      - in: query
        name: limit
        description: "The number of products to retrieve.\n                  (default: 50, maximum: 250)"
        schema: {}
        required: false
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_get_collections_param_collection_id_products
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/collections/{collection_id}/products.json:
    get:
      summary: Shopify Retrieve A List Of Products Belonging To A Collection
      description: https://shopify.dev/docs/admin-api/rest/reference/products/collection#products-2020-10
      parameters:
      - in: path
        name: collection_id
        required: true
        schema:
          type: string
        description: collection_id
      - in: query
        name: limit
        description: "The number of products to retrieve.\n                  (default: 50, maximum: 250)"
        schema: {}
        required: false
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: get_collections_param_collection_id_products
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/collections/{collection_id}/products.json:
    get:
      summary: Shopify Retrieve A List Of Products Belonging To A Collection
      description: https://shopify.dev/docs/admin-api/rest/reference/products/collection#products-2021-01
      parameters:
      - in: path
        name: collection_id
        required: true
        schema:
          type: string
        description: collection_id
      - in: query
        name: limit
        description: "The number of products to retrieve.\n                  (default: 50, maximum: 250)"
        schema: {}
        required: false
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_get_collections_param_collection_id_products
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/unstable/collections/{collection_id}/products.json:
    get:
      summary: Shopify Retrieve A List Of Products Belonging To A Collection
      description: https://shopify.dev/docs/admin-api/rest/reference/products/collection#products-unstable
      parameters:
      - in: path
        name: collection_id
        required: true
        schema:
          type: string
        description: collection_id
      - in: query
        name: limit
        description: "The number of products to retrieve.\n                  (default: 50, maximum: 250)"
        schema: {}
        required: false
      tags:
      - Belonging
      responses:
        '200':
          description: ''
      operationId: deprecated_unstable_get_collections_param_collection_id_products
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
components:
  securitySchemes:
    AccessToken:
      type: apiKey
      name: X-Shopify-Access-Token
      in: header
      description: Access token obtained via OAuth