{
  "opencollection": "1.0.0",
  "info": {
    "name": "UrbanPiper POS Integration Aggregator Menu API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Menu",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Add or update menu (catalogue push)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pos-int.urbanpiper.com/external/api/v1/inventory/locations/:location_ref_id/",
            "params": [
              {
                "name": "location_ref_id",
                "value": "",
                "type": "path",
                "description": "Store reference ID in the POS/ERP system. Pass -1 to update the master catalogue level only."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Push the catalogue (categories, items, option groups, options, taxes, charges) for a brand. Use a location_ref_id of -1 to update at the master catalogue level. Flush flags reset previously available catalogue objects."
        },
        {
          "info": {
            "name": "Add or update items (Hub)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pos-int.urbanpiper.com/hub/api/v1/items/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Bulk add or update catalogue items on the Hub stack. The limit on the number of items/options for this action is 400 per request."
        },
        {
          "info": {
            "name": "Create category timing groups",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pos-int.urbanpiper.com/external/api/v1/inventory/categories/timing-groups/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Define timing groups that control when categories are available."
        }
      ]
    }
  ],
  "bundled": true
}