Reset Locked
Description
This document covers the API information to unlock the account of a user who has locked him/her self out be trying to log in multiple times on the website.
HTTP Method and Request URL
GET
https://api.bloomingdales.com/v2/user/lockreset?emailaddress=[emailaddress]
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. Go to http://developer.bloomingdales.com/apps/mykeys for a list of your API keys. | Yes | xmj9js4jkdpe1983fmwu98gh |
Accept |
Specifies the output format. Can be application/json or application/xml. |
Yes |
application/json application/xml |
Query Parameters |
|||
Parameter |
Description |
Mandatory |
Sample Value |
emailaddress |
the email address of the customer used to login to the website |
Yes | test123@bloomingdales.com |
callback | If sent, the format is JSONP (JSON with Padding) with the callback returned with the JSON response. You can put anything in the callback parameter and whatever you send is returned. | No |
magicofbloomingdalesapi |
Sample Requests and Responses
Sample Request
Request URL:
GET
https://api.bloomingdales.com/v2/user/lockreset?emailaddress=testme@bloomingdales.com
HTTP Header:
x-macys-webservice-client-id: xmj9js4jkdpe1983fmwu98gh
Accept: application/json
Sample Response
{"success":"RESETLOCKEDUSER"}
Error Codes
Call Specific Error Codes:
ERROR CODE | DESCRIPTION |
UserProfileServiceProfileUserNameInputInvalidErrorCode |
If emailaddress is Empty/null |
UserProfileServiceUserNotFoundErrorCode |
If emailaddress is not in database |
USERNOTLOCKED |
If user is not Locked |
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