Company
Retrieve a branch
GET
Returns one branch. Needs branches:read. A branch outside the key's branch list returns
403 branch_forbidden, not 404.
bearerAuthheader
AuthorizationBearer <api_key>id*stringString. The branch id from List branches.
Match
^[A-Za-z0-9_-]{1,128}$include?"contact"contact. Adds the branch phone number and tax number. Left out: neither.
Value in
"contact"The branch
application/json- response
data*meta*curl -X GET 'https://europe-west2-fyre-pos.cloudfunctions.net/publicApi/v1/branches/YOUR_BRANCH_ID?include=contact'Example Response
{ "data": { "id": "YOUR_BRANCH_ID", "name": "Camden", "isActive": true, "currency": "GBP", "address": { "line1": "12 Parkway", "line2": null, "town": "London", "county": null, "postCode": "NW1 7AA" }, "location": "Camden", "channels": { "online": true, "collection": true, "delivery": true, "kiosk": false, "table": true } }, "meta": { "requestId": "6f1c2a9e-4b1d-4c4b-9d8e-0a1b2c3d4e5f" }}
