---
title: "Update my profile"
method: PATCH
path: "/ecommerce/profile"
tags: ["🛒 Ecommerce"]
---

# Update my profile

`PATCH /ecommerce/profile`

The API endpoint allows a logged-in user to update their e-commerce profile.

With this endpoint, users can make changes and updates to their profile information, such as personal details, contact information, or any other relevant profile attributes.

## Request body

- object
  - `countryCode` string
  - `firstName` string
  - `lastName` string
  - `phoneNumber` string

## Response `200`

Update my profile

- object
  - `data` object
    - `__v` number
    - `_id` string
    - `countryCode` string
    - `createdAt` string
    - `firstName` string
    - `lastName` string
    - `owner` string
    - `phoneNumber` string
    - `updatedAt` string
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/versions/a9f3a290e4dc/schema)
