Browse Documentation
- Report
- Overview
- Organizations
- GET Get Organisation
- POST Update Organisation
- Invoices
- POST Create Invoice
- GET Get Invoice
- PUT Update Invoice
- DELETE Delete Invoice
- POST Approve Invoice
- POST Add Attachment
- DELETE Delete Attachment from Invoice
- POST Send Invoice
- POST Pay Invoice
- Purchases
- POST Create Purchase
- GET Get Purchase
- PUT Update Purchase
- DELETE Delete Purchase
- POST Approve Purchase
- POST Add Attachment to Purchase
- DELETE Delete Attachment from Purchase
- POST Pay Purchase
- Pos sales
- GET Get POS Sales
- POST Create POS Sale
- PUT Update POS Sale
- DELETE Delete POS Sale
- POST Add POSSales Payment
- Offers
- POST Create Offer
- GET Get Offer
- PUT Update Offer
- DELETE Delete Offer
- POST Add Attachment to Offer
- DELETE Delete Attachment from Offer
- POST Send Offer
- POST Convert to Invoice
- Items
- POST Create Item
- GET Get Item
- POST Update Item
- POST Add Item Picture
- DELETE Delete Item Picture
- Item categories
- Contacts
- POST Create Contact
- GET Get Contact
- PUT Update Contact
- Account types
- GET Account Types
- Accounts
- POST Create Account
- GET Get Account
- Financial accounts
- Taxes
- POST Create Tax
- GET Get Tax
- Invoice template
- GET Get Template
- POST Update Invoice Template
- POST Upload Template Logo
- POST Create New Invoice Template
- DELETE Delete Invoice Temaplate
- Inbox
- POST Upload Attachment
- GET Get Attachments
- DELETE Delete Attachment
- Payments
- DELETE Delete Payment
- Journals
- GET Get journals
- Banks
- GET List banks
- Team
- POST Create Team Member
- GET List Team Members
- DELETE Remove Team Members
POST Update organisation
Update Organisation
POST
/organisations/:id
Update an existing organisations
Parameters
Parameter | Type | Description |
---|---|---|
name | String | Business Name |
invoice_prefix | String | Invoice Prefix |
offer_prefix | String | Offer Prefix |
credit_note_in_prefix | String | Credit Note-In Prefix |
credit_note_out_prefix | String | Credit Note-Out Prefix |
purchase_order_prefix | String | Purchase Order Prefix |
purchase_bill_prefix | String | Purchase Bill Prefix |
timezone | String | Time zone |
country | String | 2-letter ISO country code |
Only parameters supplied will be updated. Parameters not part of the request will be left unchanged.
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \ -XPUT \ -d '{ "business":{ "name":"Business Name", "timezone":"Europe/Brussels" } } ' \ https://dev.accounteer.com/api/v0.1/organisations/6dfa1113f3373a681d6e264d3397ddfc00efdbc6
Response
{ "id":"6dfa1113f3373a681d6e264d3397ddfc00efdbc6", "name":"Business Name", "timezone":"Europe/Brussels", "language":"nl", "currency":"USD", "address":"Koolmijnlaan 458", "city":"Hasselt", "zip_code":"3560", "country_code":"BE", "email":null, "fax":"03/87654321", "phone":"03/012345678", "tax_number":"BE012345678", "logo_url": "https://f.accounteer.com/logo.jpg", "gl_account_receivable":"10ff89bae1e9c4e9ebee9efa720716923525b34e", "gl_account_payable":"be096c3b5b07484fa796b0d8fa696ea7162b6f23", "invoice_prefix":"INV", "credit_note_out_prefix":"CN", "purchase_order_prefix":"PO", "fixed_asset_prefix":"FA", "default_invoice_template":"35ca55c621923f4c94d9cded8d0beab611cdea06" }