post https://api.middesk.com/v1/business_batches
This endpoint is used to create a new Business Batch. Once created, the Business Batch will automatically begin the process of verifying the legitimacy of all Businesses specified in the batch concurrently. Results for a business batch can be retrieved using the List all Businesses endpoint and passing the business_batch_id
returned by this endpoint as a query parameter.
CSV Format
The first row in your CSV should include all Column Titles for which you'd like to provide information (minimally all required headers, you may leave optional columns out entirely). Every following row should be a sequence of values associated to each Column Title.
Any potential errors due to invalid column values are explained in the Errors column.
Column Title | Description | Example | Required | Errors |
---|---|---|---|---|
name | The Business name | Middesk | Required | Name can't be blank |
address | The full Business address | 577 Howard St, San Francisco, CA 94105 | Required if address components are not provided | Address can't be blank |
address_line1, address2_line1 ... address5_line1 | The Business street address | 577 Howard St | Required if address is not provided | N/A |
address_line2, address2_line2 ... address5_line2 | The Business secondary street address (e.g. Floor #, Suite #) | Suite 400 | Required if address is not provided | N/A |
address_city, address2_city ... address5_city | The city in which the Business operates | San Francisco | Required if address is not provided | N/A |
address_state, address2_state ... address5_state | The state in which the Business operates. Please use a two character state abbreviation | CA | Required if address is not provided | N/A |
address_postal_code, address2_postal_code ... address5_postal_code | The postal code in which the Business operates | 94105 | Required if address is not provided | N/A |
person_name1, person_name2 ... person_name9 | The name of a person associated with the Business | Kyle Mack | Not Required | N/A |
person_dob1, person_dob2 ... person_dob9 | The date of birth of a person associated with the Business | 2023-10-12 | Not Required | N/A |
external_id | A custom id that can be attached to this | 12345678 | Not Required | The custom id must be unique in the collection of businesses you submit within the batch. |
phone_number | The phone number associated with the Business | 6507970487 | Not Required | N/A |
tin | The Tax Identification Number (TIN) of the Business | 123410000 | Not Required | N/A |
website | The website of the Business | https://www.middesk.com | Not Required | N/A |
dba_name | The "Doing Business As" name | Middesk | Not Required | |
order_product1, order_product2, order_product3, order_product4 | Orders to submit for the business in that row. Up to 4 orders may be submitted per row. If no orders are specified then the desired orders will be inferred based on account setting and what fields were provided. | website | Not Required |