Edit profile

Edit profile

#b2b

https://api.worldota.net/api/b2b/v3/profiles/edit/

The call edits a contract profile.

Request example

curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/profiles/edit/' \
--header 'Content-Type: application/json' \
--data-raw '{
  "email": "[email protected]",
  "first_name": "John",
  "last_name": "Smith",
  "phone": "+4412344567899"
  "type": "manager"
}'

Request body

Response

Response example

{
  "data":{
    "user":{
      "email":"[email protected]",
      "first_name":"John",
      "last_name":"Smith",
      "middle_name":null,
      "phone":"+4412344567899",
      "status":"awaiting_confirmation",
      "type":"manager"
    }
  },
  "debug":null,
  "error":null,
  "status":"ok"
}

Errors

The error field has the value specified in the headers below.

users_profile_not_found

The profile isn’t found.