Skip to main content
POST
Pause new orders (busy)

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
minutes
integer
required

How long to pause new orders.

Required range: 15 <= x <= 120
Example:

30

Response

The store, now busy

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[]