Skip to main content
PUT
/
costummer
/
id
cURL
curl --request PUT \
  --url https://api.allcomtelecom.com/api:XUynQtIz/costummer/id \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "20234397fs9vcd978qr308q9703cbfdbd9vuy07wrw97rq90qrw08",
  "page": "1",
  "per_page": "25",
  "offset": "offset",
  "company_name": "company_name",
  "fantasy_name": "fantasy_name",
  "tax_id": "tax_id",
  "id": "id",
  "webhook": "webhook"
}
'
{
  "id": 0,
  "created_at": "now",
  "accounts_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "company_name": "string",
  "fantasy_name": "string",
  "tax_id": "string",
  "api_token": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "webhook": "string"
}

Body

application/json

Informações necessárias para editar o usuário.

token
string
Example:

"20234397fs9vcd978qr308q9703cbfdbd9vuy07wrw97rq90qrw08"

page
string
Example:

"1"

per_page
string
Example:

"25"

offset
string
Example:

"offset"

company_name
string
Example:

"company_name"

fantasy_name
string
Example:

"fantasy_name"

tax_id
string
Example:

"tax_id"

id
string
Example:

"id"

webhook
string
Example:

"webhook"

Response

Cliente editado com sucesso!

Sucesso
string
Example:
{
"id": 0,
"created_at": "now",
"accounts_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"company_name": "string",
"fantasy_name": "string",
"tax_id": "string",
"api_token": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"webhook": "string"
}