Frontu API Sandbox
ClientApi/Client

Create / Update Client

1min
POST
https://dev1.frontu.com//client/api/v2/clients

Request to create or update the Client.

If you want to update Client using POST method you need to fill information for guid field or systemId field in request body.

Example how to use custom values:

You need to specify it for example like this:

first value is guid of the custom field (for this case you can select all custom fields in this endpoint - https://tasker.stoplight.io/docs/tasker-api-v2/tasker_swagger.json/paths/~1client~1api~1v2~1customfields~1clients/get ), and second is value of the custom field. "customValues": { "f889fbe9-9d9b-3c8a-8549-e321ee7e3e34": "Custom Value", "f889fbe9-9d9b-3c8a-8549-e321ee7e3e35": "Custom Value 2", "f889fbe9-9d9b-3c8a-8549-e321ee7e3e38": "2" }

Authentication
Authorization
Body Parameters
body
*
title
*
address
city
phone
email
creditStatus
companyVatCode
companyCode
note
systemId
guid
deleted
clientType
customValues
reportEmails
Responses
201
Returned when successful
400
Data contains errors
code
message
errors
Curl
JS
Ruby
Python
Responses
201
400