Create a Company

Purpose

To insert a new company record.

Request URL

https://fsm.zoho.com/fsm/v1/Companies

Request Method

POST

Scope

scope=ZohoFSM.modules.Companies.CREATE

NameDescriptionType
Company_NameThe name of the companyString
The following tax parameters will differ based on the edition chosen:
TaxableWhether taxable is true or falseBoolean
Tax_NameTax name if taxable is trueString
Tax_Exemption_CodeTax exemption code if taxable is falseString
Tax_AuthorityA tax authority needs to be provided if taxable is falseString
GST_TreatmentApplicable for the Indian editionString
Place_of_SupplyApplicable for the Indian editionString
Tax_Reg_NumberApplicable for the Indian editionString
VAT_TreatmentApplicable for the UK editionString
The below parameters are mandatory if multi-currency is enabled. The base currency will be applied by default.
CurrencyThe currency you want to choose for the companyString
Exchange_RateThe exchange rate w.r.t the base currency of the organizationString

Sample Request

Copiedcurl --location --request POST 'https://fsm.zoho.com/fsm/v1/Companies' \
-d "@newContact.json" \
--header 'Authorization: Zoho-oauthtoken 1000.63706db******************************d96d4a5'

Sample Input

Copied{
    "data": [
        {
            "Company_Name": "Zylker",
            "Website": "www.zylker.com",
            "Email": "lucy.robins@zylker.com",
            "Phone": "555-555-5555",
            "Mobile": null,
            "Company_Type": "Customer",
            "Service_Address": 
                {
                    "Address_Name": "Service Address",
                    "Street_1": "523 S Webster St",
                    "Street_2": null,
                    "City": "Naperville",
                    "State": "Illinois",
                    "Zip_Code": "60540",
                    "Country": "United States",
                    "Territory": "1011000000139175",
                    "Tax": {
                        "Taxable": true,
                        "Tax_Name": "IllinoisExciseTax",
                        "Tax_Authority": null,
                        "Tax_Percentage": 6.25,
                        "Tax_Exemption_Id": null,
                        "Tax_Id": "2908070000000092001",
                        "Tax_Exemption_Code": null,
                        "Tax_Authority_Id": null
                    }
                },
            "Billing_Address": 
                {
                    "Address_Name": "Billing Address",
                    "Street_1": "2639 Aurora Ave",
                    "Street_2": null,
                    "City": "Naperville",
                    "State": "Illinois",
                    "Zip_Code": "60540",
                    "Country": "United States",
                    "Territory": null,
                    "Tax": {
                        "Taxable": true,
                        "Tax_Name": "IllinoisExciseTax",
                        "Tax_Authority": null,
                        "Tax_Percentage": 6.25,
                        "Tax_Exemption_Id": null,
                        "Tax_Id": "2908070000000092001",
                        "Tax_Exemption_Code": null,
                        "Tax_Authority_Id": null
                    }
                },
            "Tax": {
                "Taxable": true,
                "Tax_Name": "IllinoisExciseTax",
                "Tax_Id": "2908070000000092001",
                "Tax_Exemption_Code": null,
                "Tax_Authority": null,
                "Tax_Exemption_Id": null,
                "Tax_Percentage": 6.25,
                "Tax_Authority_Id": null
            },
            "Currency": "USD",
            "Exchange_Rate": "1.000000000"
        }
    ]
}

Sample Response

Copied{
    "result": "success",
    "code": "SUCCESS",
    "data": {
        "Companies": [
            {
                "UID": "Companies_0",
                "Modified_Time": "2022-04-03T23:52:13-07:00",
                "Modified_By": {
                    "name": "Daniel Warne",
                    "id": "1011000000139001"
                },
                "Created_Time": "2022-04-03T23:52:13-07:00",
                "id": "1011000000254082",
                "Created_By": {
                    "name": "Daniel Warne",
                    "id": "1011000000139001"
                },
                "TabName": "Accounts"
            }
        ]
    },
    "status": "success"
}