---
title: "Update account"
method: PATCH
path: "/api/v2/shippers/accounts/{account_id}"
tags: ["Shipper Accounts"]
---

# Update account

`PATCH /api/v2/shippers/accounts/{account_id}`

Updates data of the current account (according to the token).

## Path parameters

- `account_id` string, uuid, required

## Request body

- object
  - `id` string, uuid — Unique identifier for this user
  - `shipper_id` string, uuid, required — Unique identifier for the shipper who this user belongs to
  - `email` string, email, required — User's email address
  - `first_name` string — User's first name
  - `last_name` string — User's last name
  - `phone_number` string, nullable — Phone number following the format [E.164](https://www.itu.int/rec/T-REC-E.164/)
  - `verification_channel` 'email' | 'sms' — Channel selected to send the verification code
  - `password` string — Password the user will use to log into Loadsmart's website or in OAuth requests

## Response `200`

Account updated

- object
  - `data` object
    - `id` string, uuid — Unique identifier for this user
    - `shipper_id` string, uuid, required — Unique identifier for the shipper who this user belongs to
    - `email` string, email, required — User's email address
    - `first_name` string — User's first name
    - `last_name` string — User's last name
    - `phone_number` string, nullable — Phone number following the format [E.164](https://www.itu.int/rec/T-REC-E.164/)
    - `verification_channel` 'email' | 'sms' — Channel selected to send the verification code
    - `password` string — Password the user will use to log into Loadsmart's website or in OAuth requests

## Other responses

- `409` — Another account with this email or phone number already exists
- `422` — Informed account data is invalid

---

[API](https://skmtc.dev/loadsmart/apis/loadsmart-api.md) · [All operations](https://skmtc.dev/loadsmart/apis/loadsmart-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loadsmart/loadsmart-api/revisions/6021c5806fe9/schema)
