Add Business
POST https://api.freshbooks.com/auth/api/v1/users/business
Request Body
{"name"=>"Kevin's Corral", "date_format"=>"mm/dd/yyyy", "address_attributes"=>{"country"=>"Canada"}, "phone_number_attributes"=>nil}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"response":{"id":1986590,"name":"Kevin's Corral","account_id":"lwy0vG","business_group":{"id":4977602,"category":"business","members":[{"id":6487912,"group_id":4977602,"role":"owner","identity_id":37256,"first_name":"Marshall","last_name":"Johnston","email":"api.freshbooks@gmail.com","company":"Kevin's Corral","business_id":1986590,"unacknowledged_change":false,"active":true}]},"date_format":"mm/dd/yyyy","address":{"id":2448988,"street":null,"city":null,"province":null,"country":"Canada","postal_code":null},"phone_number":null,"business_clients":[]}}