{
  "opencollection": "1.0.0",
  "info": {
    "name": "Shopify Admin REST About Type API",
    "version": "2025-01"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Shopify-Access-Token",
      "value": "{{X-Shopify-Access-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Type",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Shopify Updates The Ordering Type Of Products In A Smart Collection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/smart_collections/:smart_collection_id/order.json",
            "params": [
              {
                "name": "smart_collection_id",
                "value": "",
                "type": "path",
                "description": "smart_collection_id"
              },
              {
                "name": "products",
                "value": "",
                "type": "query",
                "description": "An array of product IDs, in the order that you want them to appear at the top of the collection. When products is specified but empty, any previously sorted products are cleared."
              },
              {
                "name": "sort_order",
                "value": "",
                "type": "query",
                "description": "The type of sorting to apply. Valid values are listed in the Properties section above.\n                  (default: (current value))"
              },
              {
                "name": "products[]",
                "value": "",
                "type": "query",
                "description": "products[]"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "https://shopify.dev/docs/admin-api/rest/reference/products/smartcollection#order-2020-01"
        },
        {
          "info": {
            "name": "Shopify Updates The Ordering Type Of Products In A Smart Collection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/smart_collections/:smart_collection_id/order.json",
            "params": [
              {
                "name": "smart_collection_id",
                "value": "",
                "type": "path",
                "description": "smart_collection_id"
              },
              {
                "name": "products",
                "value": "",
                "type": "query",
                "description": "An array of product IDs, in the order that you want them to appear at the top of the collection. When products is specified but empty, any previously sorted products are cleared."
              },
              {
                "name": "sort_order",
                "value": "",
                "type": "query",
                "description": "The type of sorting to apply. Valid values are listed in the Properties section above.\n                  (default: (current value))"
              },
              {
                "name": "products[]",
                "value": "",
                "type": "query",
                "description": "products[]"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "https://shopify.dev/docs/admin-api/rest/reference/products/smartcollection#order-2020-04"
        },
        {
          "info": {
            "name": "Shopify Updates The Ordering Type Of Products In A Smart Collection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/smart_collections/:smart_collection_id/order.json",
            "params": [
              {
                "name": "smart_collection_id",
                "value": "",
                "type": "path",
                "description": "smart_collection_id"
              },
              {
                "name": "products",
                "value": "",
                "type": "query",
                "description": "An array of product IDs, in the order that you want them to appear at the top of the collection. When products is specified but empty, any previously sorted products are cleared."
              },
              {
                "name": "sort_order",
                "value": "",
                "type": "query",
                "description": "The type of sorting to apply. Valid values are listed in the Properties section above.\n                  (default: (current value))"
              },
              {
                "name": "products[]",
                "value": "",
                "type": "query",
                "description": "products[]"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "https://shopify.dev/docs/admin-api/rest/reference/products/smartcollection#order-2020-07"
        },
        {
          "info": {
            "name": "Shopify Updates The Ordering Type Of Products In A Smart Collection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/smart_collections/:smart_collection_id/order.json",
            "params": [
              {
                "name": "smart_collection_id",
                "value": "",
                "type": "path",
                "description": "smart_collection_id"
              },
              {
                "name": "products",
                "value": "",
                "type": "query",
                "description": "An array of product IDs, in the order that you want them to appear at the top of the collection. When products is specified but empty, any previously sorted products are cleared."
              },
              {
                "name": "sort_order",
                "value": "",
                "type": "query",
                "description": "The type of sorting to apply. Valid values are listed in the Properties section above.\n                  (default: (current value))"
              },
              {
                "name": "products[]",
                "value": "",
                "type": "query",
                "description": "products[]"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "https://shopify.dev/docs/admin-api/rest/reference/products/smartcollection#order-2020-10"
        },
        {
          "info": {
            "name": "Shopify Updates The Ordering Type Of Products In A Smart Collection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/smart_collections/:smart_collection_id/order.json",
            "params": [
              {
                "name": "smart_collection_id",
                "value": "",
                "type": "path",
                "description": "smart_collection_id"
              },
              {
                "name": "products",
                "value": "",
                "type": "query",
                "description": "An array of product IDs, in the order that you want them to appear at the top of the collection. When products is specified but empty, any previously sorted products are cleared."
              },
              {
                "name": "sort_order",
                "value": "",
                "type": "query",
                "description": "The type of sorting to apply. Valid values are listed in the Properties section above.\n                  (default: (current value))"
              },
              {
                "name": "products[]",
                "value": "",
                "type": "query",
                "description": "products[]"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "https://shopify.dev/docs/admin-api/rest/reference/products/smartcollection#order-2021-01"
        },
        {
          "info": {
            "name": "Shopify Updates The Ordering Type Of Products In A Smart Collection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/smart_collections/:smart_collection_id/order.json",
            "params": [
              {
                "name": "smart_collection_id",
                "value": "",
                "type": "path",
                "description": "smart_collection_id"
              },
              {
                "name": "products",
                "value": "",
                "type": "query",
                "description": "An array of product IDs, in the order that you want them to appear at the top of the collection. When products is specified but empty, any previously sorted products are cleared."
              },
              {
                "name": "sort_order",
                "value": "",
                "type": "query",
                "description": "The type of sorting to apply. Valid values are listed in the Properties section above.\n                  (default: (current value))"
              },
              {
                "name": "products[]",
                "value": "",
                "type": "query",
                "description": "products[]"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "https://shopify.dev/docs/admin-api/rest/reference/products/smartcollection#order-unstable"
        }
      ]
    }
  ],
  "bundled": true
}