PUT
/
coa
/
api
/
chart-account-settings
Update Chart Account Settings
curl --request PUT \
  --url https://api.meetcampfire.com/coa/api/chart-account-settings \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "uncategorized": 123,
  "accounts_payable": 123,
  "accounts_receivable": 123,
  "deferred_revenue": 123,
  "accrued_revenue": 123,
  "unrealized_gain_loss": 123,
  "realized_gain_loss": 123,
  "rounding_account": 123,
  "unapplied_credits": 123,
  "unapplied_debits": 123,
  "unbilled_revenue": 123,
  "default_clearing": 123,
  "discount_account": 123,
  "refund_account": 123,
  "processing_fees": 123,
  "tax_account": 123,
  "payout_account": 123,
  "cta_account": 123,
  "fixed_asset_disposal": 123
}'
{
  "id": 123,
  "uncategorized_name_and_number": "<string>",
  "accounts_payable_name_and_number": "<string>",
  "accounts_receivable_name_and_number": "<string>",
  "deferred_revenue_name_and_number": "<string>",
  "accrued_revenue_name_and_number": "<string>",
  "unrealized_gain_loss_name_and_number": "<string>",
  "realized_gain_loss_name_and_number": "<string>",
  "rounding_account_name_and_number": "<string>",
  "unapplied_credits_name_and_number": "<string>",
  "unapplied_debits_name_and_number": "<string>",
  "unbilled_revenue_name_and_number": "<string>",
  "default_clearing_name_and_number": "<string>",
  "discount_account_name_and_number": "<string>",
  "refund_account_name_and_number": "<string>",
  "processing_fees_name_and_number": "<string>",
  "tax_account_name_and_number": "<string>",
  "payout_account_name_and_number": "<string>",
  "cta_account_name_and_number": "<string>",
  "fixed_asset_disposal_name_and_number": "<string>",
  "customer": 123,
  "uncategorized": 123,
  "accounts_payable": 123,
  "accounts_receivable": 123,
  "deferred_revenue": 123,
  "accrued_revenue": 123,
  "unrealized_gain_loss": 123,
  "realized_gain_loss": 123,
  "rounding_account": 123,
  "unapplied_credits": 123,
  "unapplied_debits": 123,
  "unbilled_revenue": 123,
  "default_clearing": 123,
  "discount_account": 123,
  "refund_account": 123,
  "processing_fees": 123,
  "tax_account": 123,
  "payout_account": 123,
  "cta_account": 123,
  "fixed_asset_disposal": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

Response

200 - application/json

The response is of type object.