POST v1/user/update

MOBILE - Update user's details. You can call this method only once. Only the field you can update more than once is user_image by calling v1/user/image

Request Information

URI Parameters

None.

Body Parameters

UserUpdateRequestModel
NameDescriptionTypeAdditional information
user_citizenship_number

string

Required

Data type: Text

user_image

string

Required

Data type: Text

user_mailing_address

string

Required

Data type: Text

user_driving_license_code

string

Data type: Text

user_driving_license_image_front

string

Required

Data type: Text

user_driving_license_image_back

string

Required

Data type: Text

user_src_document_image

string

Required

Data type: Text

user_psyc_document_image

string

Required

Data type: Text

enable_shipment_notifications

boolean

None.

user_birthdate

date

None.

country_phone_code

integer

None.

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:
{
  "user_citizenship_number": "sample string 1",
  "user_image": "sample string 2",
  "user_mailing_address": "sample string 3",
  "user_driving_license_code": "sample string 4",
  "user_driving_license_image_front": "sample string 5",
  "user_driving_license_image_back": "sample string 6",
  "user_src_document_image": "sample string 7",
  "user_psyc_document_image": "sample string 8",
  "enable_shipment_notifications": true,
  "user_birthdate": "2024-11-25T22:32:29.6935104+03:00",
  "country_phone_code": 10,
  "user_id": "sample string 11",
  "user_signature": "sample string 12"
}

Response Information

Resource Description

MOBILE - Update user's details. You can call this method only once. Only the field you can update more than once is user_image by calling v1/user/image

UserUpdateResultModel
NameDescriptionTypeAdditional information
response

UserUpdateResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "user_id": "sample string 1",
    "user_first_name": "sample string 2",
    "user_cell_number": "sample string 3",
    "user_citizenship_number": "sample string 4",
    "user_image": "sample string 5",
    "user_mailing_address": "sample string 6",
    "user_driving_license_code": "sample string 7",
    "user_driving_license_image_front": "sample string 8",
    "user_driving_license_image_back": "sample string 9",
    "user_src_document_image": "sample string 10",
    "user_psyc_document_image": "sample string 11",
    "enable_shipment_notifications": true,
    "user_birthdate": "2024-11-25T22:32:29.6965116+03:00"
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}