Skip to main content
PATCH
Change an activity

Authorizations

Authorization
string
header
default:your_token_here
required

Restaurant-scoped partner API token passed as Authorization: Bearer <token>.

Path Parameters

id
string
required

EatNow activity identifier.

Minimum string length: 1

Body

application/json
start_at
string<date-time>

Moves the activity: the slot is checked as a booking is (day sold, slot not begun and on the grid, place left). An instant the restaurant's clock does not show is refused.

assigned_staff_id
string | null

Who runs it (/activity-staff); null takes them off.

Minimum string length: 1
metadata
object

Answers to the product's questions, under their key: each one sent replaces its answer, the others stay. A required question cannot be emptied.

comment
string | null
Maximum string length: 2000
tags
string[]

Replaces the tags.

Maximum array length: 20
Minimum string length: 1
presence
enum<string>

The guest came, or did not; CONFIRMED undoes either (a no-show undone takes its place back only if it is still free).

Available options:
SHOWED_UP,
NO_SHOW,
CONFIRMED
bypass_availability
boolean
default:false

Takes a full slot, a time off the grid or a closed day — never one gone by. Requires ACTIVITIES_FORCE_INSERT.

send_client_notifications
boolean
default:true

Messages the guest about this change. false when you tell the guest yourself. A no-show is told a few minutes later, and only if the cart was booked with send_client_notifications: true.

Response

The activity as it is now

data
object
required