{
  "opencollection": "1.0.0",
  "info": {
    "name": "Swell Backend Account Addresses Products API",
    "version": "2025-01"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Store-Id",
      "value": "{{X-Store-Id}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Products",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Products",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swell.store/products",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Records per page (1-1000). Default 15."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Result page number, 1-indexed."
              },
              {
                "name": "where",
                "value": "",
                "type": "query",
                "description": "MongoDB-style filter object. Supports operators $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin, $regex, $type, $exists, $and, $or, $nor, $all, $elemMatch, $size."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort expression, e.g. \"name asc\" or \"date_created desc\"."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Full-text search across model-specific searchable fields."
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Include related objects, e.g. expand=account or expand=variants:10."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return."
              }
            ]
          },
          "docs": "List Products"
        },
        {
          "info": {
            "name": "Create Product",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swell.store/products",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Product"
        },
        {
          "info": {
            "name": "Retrieve Product",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swell.store/products/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The object ID of the resource."
              }
            ]
          },
          "docs": "Retrieve Product"
        },
        {
          "info": {
            "name": "Update Product",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.swell.store/products/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The object ID of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Product"
        },
        {
          "info": {
            "name": "Delete Product",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.swell.store/products/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The object ID of the resource."
              }
            ]
          },
          "docs": "Delete Product"
        },
        {
          "info": {
            "name": "List Products",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swell.store/api/products",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "search",
                "value": "",
                "type": "query"
              },
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "Filter by category ID or slug."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "expand",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List Products"
        },
        {
          "info": {
            "name": "Retrieve Product",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swell.store/api/products/:slug",
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path",
                "description": "Product slug or ID."
              }
            ]
          },
          "docs": "Retrieve Product"
        }
      ]
    }
  ],
  "bundled": true
}