Skip to main content
PUT
/
v1
/
public
/
contacts
/
{contact_id}
Update Contact
curl --request PUT \
  --url https://api.sanka.com/v1/public/contacts/{contact_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "external_id": "<string>",
  "name": "<string>",
  "last_name": "<string>",
  "email": "<string>",
  "phone_number": "<string>",
  "company": "<string>",
  "status": "<string>",
  "allowed_in_store": true
}
'
{
  "ok": true,
  "status": "<string>",
  "external_id": "<string>",
  "contact_id": "<string>",
  "ctx_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contact_id
string
required

Body

application/json
external_id
string | null
name
string | null
last_name
string | null
email
string | null
phone_number
string | null
company
string | null
status
string | null
allowed_in_store
boolean | null

Response

OK

ok
boolean
required
status
string
required
external_id
string | null
contact_id
string | null
ctx_id
string | null