Horeca24 Partner API › Connection
Check the key and read the connection's state
https://management.horeca-24.de/api/partner/v1/pingmenuUrl, menuHash and menuUpdatedAt are null until the restaurant first syncs its menu. menuHash is the SHA-256 (hex) of the menu file's current bytes.
Headers
AuthorizationstringRequiredBearer pk_<connectionId>.<keyId>.<secret>
The connection's API key, from the restaurant's till. Treat it as one opaque string. 401 UNAUTHORIZED for a missing, wrong, expired or revoked key; 403 CONNECTION_REVOKED for the key of a deleted connection. After a rotation by the restaurant, the previous key keeps working for 24 hours.
Response
connectionIdstringRequiredpattern: ^pc_[0-9a-f]{20}$namestringRequiredThe connection's name; orders appear in the till under it
storeNamestring or nullRequiredThe restaurant's name
online while the restaurant takes orders through this connection
webhookConfiguredbooleanRequiredmenuUrlstring or nullRequiredformat: uriThe menu file; null before the first menu sync
menuHashstring or nullRequiredpattern: ^[0-9a-f]{64}$SHA-256 (hex) of the file's bytes
menuUpdatedAtstring or nullRequiredformat: date-timeThe last write of the file
Errors
objectErrorBody
UNAUTHORIZED: the key is missing, malformed, unknown, wrong, expired or revoked
CONNECTION_REVOKED: the restaurant deleted the connection; stop sending