Skip to main content
POST
Pickup / delivery times
write:orders

Authorizations

X-Client-Id
string
header
required

Client ID for API Client authentication (must be used together with Client Secret)

X-Client-Secret
string
header
required

Client Secret for API Client authentication (must be used together with Client ID)

Body

application/json
dmethod
string
required

Delivery method:

  • 0 = pickup at location
  • 1 = home delivery
  • 0t = at table
  • 20 = pickup at pickup point
  • 0e-{id} = event (where {id} is the event ID)
  • dcf-{id} = custom method (where {id} is the method ID)
subrestaurant_uid
string

Location identifier. Required for multi-location restaurants

place_id
string

Address identifier (obtained from address validation). Required if dmethod = 1 (home delivery)

language
string

ISO 639-1 language code; defaults to restaurant settings

Response

Available times response

success
boolean
required

Operation result: true if successful, false if failed

error
string

Error code if the operation failed. Possible values:

  • SUBRESTAURANT_NOT_FOUND = location not found
  • INVALID_ADDRESS = invalid address

See Error codes for general error codes that may occur.

message
string

Human-readable error description if the operation failed

data
object

Available times data (present only if success = true)