Method: CompaniesClient#create_companies

Defined in:
lib/lockstep_sdk/clients/companies_client.rb

#create_companies(body:) ⇒ Object

Creates one or more Companies from a given model.

A Company represents a customer, a vendor, or a company within the organization of the account holder. Companies can have parents and children, representing an organizational hierarchy of corporate entities. You can use Companies to track projects and financial data under this Company label.

See [Vendors, Customers, and Companies](developer.lockstep.io/docs/companies-customers-and-vendors) for more information.

Parameters:

  • body (CompanyModel)

    The Companies to create



79
80
81
82
# File 'lib/lockstep_sdk/clients/companies_client.rb', line 79

def create_companies(body:)
    path = "/api/v1/Companies"
    @connection.request(:post, path, body, nil)
end