v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
🛒 Ecommerce

Get my profile

The API endpoint allows you to retrieve the e-commerce profile of the logged-in user.

When accessing this endpoint, you will receive a response containing the basic details of the user's e-commerce profile.

This includes information such as the user's name, email address, phone number, and other relevant details.

get/ecommerce/profile

Response

Get my profile

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "_id": "649e795264e7dba29b72693b",
    "countryCode": "+91",
    "createdAt": "2023-06-30T06:42:26.237Z",
    "firstName": "John",
    "lastName": "Doe",
    "owner": "649e795264e7dba29b726936",
    "phoneNumber": "9893894838",
    "updatedAt": "2023-06-30T06:47:27.835Z"
  },
  "message": "User profile fetched successfully",
  "statusCode": 200,
  "success": true
}