Panera

Get one Panera Bread cafe's order-quantity limits

Returns one cafe's active order-quantity limits -- promotional or supply-constrained items Panera caps per order (for example a seasonal souffle limited to 6 within a 2-day window). Each rule has a scope (item or group), the item ids it applies to, and one or more day-offset windows each with its own max_quantity. A cafe with no active limits returns an empty rules list, not an error. Cafe ids come from GET /panera/locations.

get/panera/quantity-rules

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/panera/quantity-rules
  • Auth: API key in header x-api-key

Query parameters

cafe_idinteger required

Panera cafe id, from /panera/locations

Headers

x-api-keystring required

API key required

Response

OK

codeinteger

Code is the HTTP status code or a custom code used to indicate the result of the request @example 200

msgunknown

Example response

{
  "data": {
    "cafe_id": 601447,
    "count": 3,
    "rules": [
      {
        "name": "Souffle",
        "scope": "group",
        "windows": [
          {
            "max_quantity": 6,
            "to_offset_days": 2
          }
        ]
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 4 revisions of this API.