Skip to main content
PUT
Set the opening hours
Send the whole week: it replaces the hours the store had. A range that closes before it opens runs past midnight, so friday 18:00 - 02:00 is one line. Get the store shows it the same way. The store owner must allow store control for your key (the same permission as open/close). Otherwise you get 403 open_close_not_allowed.

Authorizations

Authorization
string
header
required

The store's API key (xfp_test_… on the sandbox, xfp_live_… on live). XFaster creates it and shows it once. An integrator key (one key for a POS company) also sends X-XFaster-Store.

Headers

Idempotency-Key
string

Any unique string. Repeating a request with the same key within 24 hours returns the first answer instead of acting twice.

Example:

"5f0c3d1e-8b6a-4e1f-9c2d-7a1b0e4f6d21"

Body

application/json
hours
object[]
required
Required array length: 1 - 50 elements

Response

The store

id
integer
Example:

64

name
string
Example:

"TABOON Plus"

accepting_orders
boolean
Example:

false

reason
enum<string> | null
Available options:
busy,
closed,
outside_hours,
null
Example:

"busy"

open
boolean
busy_until
string<date-time> | null
delivery
boolean
pickup
boolean
invoices
enum<string>

xfaster = the store's PayPlus already issues the customer's invoice; store = your POS issues the receipt

Available options:
xfaster,
store
hours
object[]