Invoice Desk
  1. Company
Invoice Desk
  • Getting Started
  • Static Data
    • List currencies
      GET
    • List countries
      GET
    • List states
      GET
    • List cities
      GET
    • StaticDataController_testError
      GET
  • Company
    • List companies
      GET
    • Add Company
      POST
    • Update Company
      PATCH
    • Fetch details of a company by ID
      GET
    • Delete a company
      DELETE
    • Get all payments for a company
      GET
  • Client
    • List clients
      GET
    • Add client
      POST
    • Update a client
      PATCH
    • Remove client
      DELETE
    • Get client details
      GET
  • Invoice
    • List invoices
      GET
    • Create invoice
      POST
    • Get invoice by ID
      GET
    • Update invoice
      PATCH
    • Delete a specific invoice
      DELETE
    • Import invoices
      POST
    • Export invoice
      GET
    • Send invoice
      POST
  • Invoice Payments
    • Record payment for invoice
    • Get payments for invoice
  • Product
    • List products
    • Add product
    • Update a product
    • Remove a product
  • Account
    • Get account details
    • Update account details
  • Project
    • List projects
    • Create a project
    • Get project by ID
    • Update a project
    • Remove a project
  • Company Settings
    • Create a new tax
    • Get company invoice settings
  • Timesheet
    • Get time entries for a project
    • Create a timesheet
    • Update
    • Delete
  • Role
    • List roles
  • User Profile
    • Fetch auth user profile
    • Update user profile
  1. Company

Update Company

PATCH
/companies/{companyId}
Maintainer:Not configured
Update an existing company details

Request

Authorization
Add parameter in header
Example:
X-Token: ********************
Path Params

Body Params multipart/form-data

Responses

🟢200OK
application/json
Body

🟠403Forbidden
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/companies/' \
--header 'Authorization: <api-key>' \
--form 'addressLine2=""' \
--form 'logo=""' \
--form 'taxRegistrationCertificate=""' \
--form 'contactInfo=""'
Response Response Example
{
    "success": true,
    "data": {
        "id": "string",
        "name": "string",
        "city": "string",
        "state": "string",
        "country": "string",
        "address": "string",
        "addressLine2": "string",
        "logoURL": "string",
        "taxDocumentPath": "string",
        "contactInfo": [
            {
                "name": "string",
                "phone": "string",
                "email": "string"
            }
        ],
        "taxRegistrations": [
            {
                "name": "GST",
                "value": "string"
            }
        ]
    },
    "errors": [
        "string"
    ]
}
Modified at 2025-05-14 11:50:50
Previous
Add Company
Next
Fetch details of a company by ID
Built with