POST v1/company/user/update

WEB - UPDATE USER PROFILE OF CURRENT COMPANY USER

Request Information

URI Parameters

None.

Body Parameters

CompanyUpdateProfileRequestModel
NameDescriptionTypeAdditional information
company_user_tax_number

string

None.

company_user_first_name

string

Required

company_user_family_name

string

None.

company_user_cell_number

string

Required

company_uid

string

Required

company_name

string

Required

company_phone

string

Required

company_phone_extension

string

None.

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

None.

company_logo

string

None.

company_web_url

string

None.

company_invoice_info

string

None.

company_default_currency_id

integer

None.

user_company_id

Company UID of the active user

string

Required

Data type: Text

user_id

User ID (GUID)

string

Required

Data type: Text

user_signature

MD5 hash signature for the active user to validate the request

string

Required

Data type: Text

Request Format

application/json, text/json

Sample:
{
  "company_user_tax_number": "sample string 1",
  "company_user_first_name": "sample string 2",
  "company_user_family_name": "sample string 3",
  "company_user_cell_number": "sample string 4",
  "company_uid": "sample string 5",
  "company_name": "sample string 6",
  "company_phone": "sample string 7",
  "company_phone_extension": "sample string 8",
  "company_cell_number": "sample string 9",
  "company_email": "sample string 10",
  "company_tax_office_name": "sample string 11",
  "company_tax_number": "sample string 12",
  "company_address_city": "sample string 13",
  "company_address_district": "sample string 14",
  "company_address_neighborhood": "sample string 15",
  "company_address_street": "sample string 16",
  "company_address_building_number": "sample string 17",
  "company_address_zip_code": "sample string 18",
  "company_logo": "sample string 19",
  "company_web_url": "sample string 20",
  "company_invoice_info": "sample string 21",
  "company_default_currency_id": 1,
  "user_company_id": "sample string 22",
  "user_id": "sample string 23",
  "user_signature": "sample string 24"
}

Response Information

Resource Description

WEB - UPDATE USER PROFILE OF CURRENT COMPANY USER

BaseMetaResultModelOfCompanyUpdateProfileResponseModel
NameDescriptionTypeAdditional information
response

CompanyUpdateProfileResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "user": {
      "user_id": "sample string 2",
      "user_tax_number": "sample string 4",
      "user_first_name": "sample string 5",
      "family_name": "sample string 6",
      "user_email": "sample string 7",
      "user_cell_number": "sample string 8",
      "user_can_create_shipment": true,
      "user_can_delete_shipment": true,
      "user_can_approve_offer": true,
      "user_can_make_payment": true,
      "user_can_finalize_shipment": true,
      "user_can_add_new_user": true,
      "user_is_admin": true,
      "user_is_insurance_admin": true,
      "company_user_create_date": "2024-11-25T22:34:56.707544+03:00",
      "user_key": "sample string 21",
      "user_secret": "sample string 22",
      "user_type": 23,
      "user_contractor_id": 24,
      "company_user_role_id": 25
    }
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}