Update Loyalty Account Info
Description
This service enables users to enroll in a Loyalty account
HTTP Method and Request URL
PUT
https://api.bloomingdales.com/customer/v1/loyalties/(ID#)
HTTP, Path and Query Parameters
HTTP Header Parameters
| Parameter | Description | Mandatory | Sample Value |
| x-macys-webservice-client-id | Pass the apikey as a header value which is called x-macys-webservice-client-id. The api key is the 24 character alphanumeric string assigned to your application when you registered it. Click here for a list of your API keys. |
Yes | xmj9js4jkdpe1983fmwu98gh |
| Accept | Specifies the output format. Can be application/json or application/xml. | Yes | application/json |
Request Body Parameters
| Parameter | Description | Mandatory | Sample Value |
| id | This is the users loyalty number. | Yes, can be used without other parameters. |
L910010712345 |
| firstName | This is the users first name | YES | Jeff |
| lastName | This is the users last name. |
YES | Bloomie |
| addressLine1 | First line of the user's address | YES | 4425 Bidwell Dr. |
| addressLine2 | Second Line of the user's address | YES | Apt. H |
| city | The users city | YES | Fremont |
| stateCD | The users state | YES | CA |
| postalCd | This users zipcode. | YES | 94107 |
| phone | This is the users phone number. | YES | 8002896229 |
| The users email address | YES | jeff@test.com | |
| dayOfBirth | The users day of birth | YES | 28 |
| monthOfBirth | This is the users Month of Birth | YES | 07 |
Sample Requests and Responses
Request URL:
PUT
https://api.bloomingdales.com/customer/v1/loyalties/(ID#)
Sample Header:
Request Body(Payload)
Sample Request Body (Payload)
{
"loyalty": {
"firstName": "Jeff",
"lastName": "Bloomie",
"addressLine1": "4425 Bidwell Dr",
"addressLine2": "Apt H",
"city": "Fremont",
"stateCd": "CA",
"postalCd": "94538",
"phone": "723-734-1234",
"email": "jeff@test.com",
"dayOfBirth": "28",
"monthOfBirth": "07"
}
}
Sample Response
200 OK Customer Update Successful
Error Codes
Call Specific Error Codes:
None
General Error Handling Documentation:
Docs Navigation
- Overview
- Customer Services
- Loyalty Services
- customer v1 user profile services
- Common API Characteristics
- Ad Media
- Catalog and Store Services
- Order Services
- Mobile Utilities
- Promotion and Coupon Services
- Registry Services
- Store Services
- Error Handling
- Deprecated Services
- What's New
- Bloomingdale's API FAQ
- Quick Start Guide
- BOPS Stores
- user