Update a specific finance default
Change a defaults used in the system relating to finances
Path parameters
-
this is one of the available settings
Values are
receipt_one_off
,receipt_to
,first_tax_month
,tax_receipt_organisation
,tax_receipt_address1
,tax_receipt_address2
,tax_receipt_address3
,tax_receipt_address4
,charity_number
,currency
,currency_symbol
, orsalestax_rate
.
POST
/financedefaults/{setting}
curl \
-X POST https://YOURSITE.infoodle.com/apiv2/financedefaults/receipt_to \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"ok": [
1
]
}
Response examples (400)
{
"error": "Invalid field contents",
"errors": {
"errorfield": [
{
"code": 400,
"message": "Invalid value supplied for field"
}
]
}
}
Response examples (403)
{
"error": "Invalid Permission"
}
Response examples (404)
{
"error": "Not Found"
}