↑↓select↵openescclose

Horeca24 Partner API › Connection

Check the key and read the connection's state

GEThttps://management.horeca-24.de/api/partner/v1/ping

menuUrl, 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

AuthorizationstringRequired

Bearer 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

200The connection
connectionIdstringRequiredpattern: ^pc_[0-9a-f]{20}$
namestringRequired

The connection's name; orders appear in the till under it

storeNamestring or nullRequired

The restaurant's name

storeStatusstringStoreStatusRequiredonlineoffline

online while the restaurant takes orders through this connection

webhookConfiguredbooleanRequired
menuUrlstring or nullRequiredformat: uri

The 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-time

The last write of the file

Errors

objectErrorBody

401

UNAUTHORIZED: the key is missing, malformed, unknown, wrong, expired or revoked

403

CONNECTION_REVOKED: the restaurant deleted the connection; stop sending