Update an existing Client

Update an existing client

put

Updates the specified client's details.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
businessnamestringRequired
idstringRequired

ID of the client to update

Body
ds_namestringOptional
ds_surnamestringOptional
ds_phonestringOptional
emailstringOptional
opt_in_statusinteger · enumOptionalPossible values:
Responses
200

Client updated successfully

application/json
put
/clients/{id}
PUT /ext/v2/{businessname}/clients/{id} HTTP/1.1
Host: api.pingueen.it/ext/v2/{businessname}
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 89

{
  "ds_name": "text",
  "ds_surname": "text",
  "ds_phone": "text",
  "email": "text",
  "opt_in_status": 0
}
200

Client updated successfully

{
  "success": true
}

Last updated