PUT
/
coa
/
api
/
entity
/
{id}
Update Chart Entity
curl --request PUT \
  --url https://api.meetcampfire.com/coa/api/entity/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "currency": "<string>",
  "invoice_name": "<string>",
  "invoice_email": "<string>",
  "address_1": "<string>",
  "address_2": "<string>",
  "city": "<string>",
  "state": "<string>",
  "zip_code": "<string>",
  "country": "<string>",
  "invoice_message": "<string>",
  "invoice_email_body": "<string>",
  "invoice_prefix": "<string>",
  "invoice_address": "<string>",
  "logo_url": "<string>",
  "active": true,
  "fiscal_year_month": -1,
  "fiscal_year_day": -1,
  "parent": 123
}'
{
  "id": 123,
  "name": "<string>",
  "description": "<string>",
  "currency": "<string>",
  "invoice_name": "<string>",
  "invoice_email": "<string>",
  "address_1": "<string>",
  "address_2": "<string>",
  "city": "<string>",
  "state": "<string>",
  "zip_code": "<string>",
  "country": "<string>",
  "invoice_message": "<string>",
  "invoice_email_body": "<string>",
  "invoice_prefix": "<string>",
  "invoice_address": "<string>",
  "logo_url": "<string>",
  "active": true,
  "fiscal_year_month": -1,
  "fiscal_year_day": -1,
  "customer": 123,
  "parent": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Body

Response

200 - application/json

The response is of type object.