{
  "opencollection": "1.0.0",
  "info": {
    "name": "Phorest Third-Party Appointments Products API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Products",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List retail products",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-gateway-eu.phorest.com/third-party-api-server/api/business/:businessId/branch/:branchId/product",
            "params": [
              {
                "name": "businessId",
                "value": "",
                "type": "path",
                "description": "The Phorest business (salon group) identifier."
              },
              {
                "name": "branchId",
                "value": "",
                "type": "path",
                "description": "The Phorest branch (location) identifier."
              },
              {
                "name": "productType",
                "value": "",
                "type": "query"
              },
              {
                "name": "searchQuery",
                "value": "",
                "type": "query"
              },
              {
                "name": "archivedOnly",
                "value": "",
                "type": "query"
              },
              {
                "name": "outOfStock",
                "value": "",
                "type": "query"
              },
              {
                "name": "lowStock",
                "value": "",
                "type": "query"
              },
              {
                "name": "includeArchived",
                "value": "",
                "type": "query"
              },
              {
                "name": "updated_from",
                "value": "",
                "type": "query"
              },
              {
                "name": "updated_to",
                "value": "",
                "type": "query"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "Records per page. Max 100, defaults to 20."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Zero-indexed page number. Defaults to 0."
              }
            ]
          },
          "docs": "Lists retail products for a branch with stock level, pricing, and barcode data. Confirmed: developer.phorest.com/reference/getproducts."
        }
      ]
    }
  ],
  "bundled": true
}