POST v1/company/new

WEB - REGISTER NEW COMPANY

Request Information

URI Parameters

None.

Body Parameters

CompanyAddRequestModel
NameDescriptionTypeAdditional information
user_signature

string

Required

company_name

string

Required

company_user_first_name

string

Required

company_user_family_name

string

Required

company_phone

string

Required

company_phone_extension

string

Required

company_cell_number

string

Required

company_email

string

Required

company_tax_office_name

string

Required

company_tax_number

string

Required

company_address_city

string

Required

company_address_district

string

Required

company_address_neighborhood

string

Required

company_address_street

string

Required

company_address_building_number

string

None.

company_address_zip_code

string

Required

company_logo

string

Required

company_web_url

string

Required

company_invoice_info

Company invoice information

string

None.

auto_archive_shipments

Flag to enable auto archiving of old shipments (default is true)

boolean

None.

company_confirmation_code

string

Required

company_password

string

Required

company_shipment_only_driver_show

Company shipments only show company drivers

boolean

None.

Request Format

application/json, text/json

Sample:
{
  "user_signature": "sample string 1",
  "company_name": "sample string 2",
  "company_user_first_name": "sample string 3",
  "company_user_family_name": "sample string 4",
  "company_phone": "sample string 5",
  "company_phone_extension": "sample string 6",
  "company_cell_number": "sample string 7",
  "company_email": "sample string 8",
  "company_tax_office_name": "sample string 9",
  "company_tax_number": "sample string 10",
  "company_address_city": "sample string 11",
  "company_address_district": "sample string 12",
  "company_address_neighborhood": "sample string 13",
  "company_address_street": "sample string 14",
  "company_address_building_number": "sample string 15",
  "company_address_zip_code": "sample string 16",
  "company_logo": "sample string 17",
  "company_web_url": "sample string 18",
  "company_invoice_info": "sample string 19",
  "auto_archive_shipments": true,
  "company_confirmation_code": "sample string 20",
  "company_password": "sample string 21",
  "company_shipment_only_driver_show": true
}

Response Information

Resource Description

WEB - REGISTER NEW COMPANY

CompanyAddResultModel
NameDescriptionTypeAdditional information
response

CompanyAddResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "company_name": "sample string 1",
    "company_phone": "sample string 2",
    "company_phone_extension": "sample string 3",
    "company_cell_number": "sample string 4",
    "company_email": "sample string 5",
    "company_tax_office_name": "sample string 6",
    "company_tax_number": "sample string 7",
    "company_logo": "sample string 8",
    "company_web_url": "sample string 9"
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}