Get Customer Profile (Customer)
Retrieves complete profile information for a customer.Path Parameters
Customer identifier (must match authenticated user)
Response
Customer identifier
Customer email address
Customer first name
Customer last name
Customer phone number
Customer address details
Customer date of birth
Account creation timestamp
Response Codes
200 OK- Profile retrieved successfully404 Not Found- Customer not found
Examples
Success Response
Update Full Name (Customer)
Updates customer’s first and last name.Path Parameters
Customer identifier
Request Body
New first name
New last name
Response
Updated first name
Updated last name
Response Codes
200 OK- Name updated successfully400 Bad Request- Invalid name format404 Not Found- Customer not found
Example
cURL
Success Response
Update Phone Number (Customer)
Updates customer’s phone number.Path Parameters
Customer identifier
Request Body
New phone number (format: +1-555-123-4567)
Response
Updated phone number
Response Codes
200 OK- Phone number updated400 Bad Request- Invalid phone number format404 Not Found- Customer not found
Example
cURL
Update Address (Customer)
Updates customer’s address.Path Parameters
Customer identifier
Request Body
Street address
City
State/Province
ZIP/Postal code
Country
Response
Updated address object
Response Codes
200 OK- Address updated400 Bad Request- Invalid address data404 Not Found- Customer not found
Example
cURL
Success Response
Update Birth Date (Customer)
Updates customer’s date of birth.Path Parameters
Customer identifier
Request Body
Date of birth (format: YYYY-MM-DD)
Response
Updated birth date
Response Codes
200 OK- Birth date updated400 Bad Request- Invalid date format or future date404 Not Found- Customer not found
Example
cURL
Success Response
Profile Management Tips
Keep your profile information up to date to ensure accurate order delivery and communication.
Data Validation
All profile updates are validated:- Names: Must be non-empty, reasonable length
- Phone: Must match international format
- Address: All fields required for shipping
- Birth Date: Must be in the past, valid date format
Privacy
Customer profile data is:- Encrypted at rest
- Only accessible by the authenticated customer
- Used only for order fulfillment and communication
- Not shared with third parties without consent