Change Client
PUT/backend/api/clients/:client_id
Host: https://core.ocplanet.cloud
Change a specific client identified by ID.
Request
- application/json
Body
address1 stringrequired
address2 string
city stringrequired
company string
country stringrequired
custom_fields arrayrequired
first_name stringrequired
last_name stringrequired
phone stringrequired
state string
vat_id string
zip_code stringrequired
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
address1 stringrequired
address2 stringrequired
city stringrequired
company stringrequired
country stringrequired
country_name stringrequired
custom_fields arrayrequired
fax nullrequired
first_name stringrequired
id integerrequired
last_name stringrequired
phone stringrequired
state stringrequired
vat_id stringrequired
zip_code stringrequired
{
"address1": "string",
"address2": "string",
"city": "string",
"company": "string",
"country": "string",
"country_name": "string",
"custom_fields": [
null
],
"first_name": "string",
"id": 0,
"last_name": "string",
"phone": "string",
"state": "string",
"vat_id": "string",
"zip_code": "string"
}
Loading...