Skip to main content

Change Client

PUT 

https://core-pl.ocplanet.cloud/backend/api/clients/:client_id

Host: https://core.ocplanet.cloud

Change a specific client identified by ID.

Request

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

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

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: Use 'OpenAPIToken {token}' as the value
curl -L -X PUT 'https://core-pl.ocplanet.cloud/backend/api/clients/:client_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"address1": "string",
"address2": "string",
"city": "string",
"company": "string",
"country": "string",
"custom_fields": [
null
],
"first_name": "string",
"last_name": "string",
"phone": "string",
"state": "string",
"vat_id": "string",
"zip_code": "string"
}'
Request Collapse all
Base URL
https://core-pl.ocplanet.cloud
Auth
Body
{
  "address1": "string",
  "address2": "string",
  "city": "string",
  "company": "string",
  "country": "string",
  "custom_fields": [
    null
  ],
  "first_name": "string",
  "last_name": "string",
  "phone": "string",
  "state": "string",
  "vat_id": "string",
  "zip_code": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!