Skip to main content
PATCH
Update a customer

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 customer identifier.

Minimum string length: 1

Body

application/json

Partial customer update. Include only the fields that should change; null clears a field.

name
string
Required string length: 1 - 200
email
string<email> | null
phone_number
string | null

E.164 (+33612345678) recommended. A national number is read with the restaurant's country.

Required string length: 3 - 40
lang
enum<string>
Available options:
FR,
EN,
IT,
ES,
DE,
PT
external_id
string | null

Partner-side identifier of the customer.

Required string length: 1 - 255
tags
string[]

Replaces all the customer's tags.

Maximum array length: 100
Required string length: 1 - 100
note
string | null

Internal staff note.

Maximum string length: 10000
custom_fields
object

Custom field values keyed by field id (see GET /api/partner/v1/customer-fields). Only the given fields change; null clears one. The value must fit the field type: TEXT → string, NUMBER → number within min/max, DATE → YYYY-MM-DD, BOOLEAN → boolean, SELECT → one option value, MULTI_SELECT → an array of distinct option values (at most max_items).

Newsletter consent. false withdraws it; channel opt-outs (marketing_opt_outs) are managed by EatNow.

Response

Updated customer

data
object
required