Interactive API Console
Test Macy's API using our easy to use Interactive Console! You can also view more detailed written documentation . (Note: You must attain approval for an API key for one of the services in the drop-down menu below before being able to use the Macy's API Console.)
Please contact us if you are having trouble getting access to keys: Click Here
Catalog Services give you access to the Macy's product line in a variety of ways:
Promotion & Coupon Services
Store Services give you access to the Macy's store information including in store availability of products:
GET
Retrieve Bag
order/v1/bags
POST
Add to Bag
order/v1/bags
PATCH
Update Bag
order/v1/bags/:bagGuid/items
This service enables users update quantity of items that is already added to a shopping bag. It enables users edit multiple items with each request. Please click here for the additional documentation.
Request Body
{
"item":
{
"sequenceNumber":22,
"upcId": 185213,
"quantity": 2
}
}
{
"item":
{
"sequenceNumber":22,
"upcId": 185213,
"quantity": 2
}
}
DELETE
Delete Item from Bag
order/v1/bags/:bagGuid/items/:sequenceNumber
This service allows you to delete an item from the shopping bag. Please click here for the additional documentation.
Request Body
{
"deleteitemsrequest" :
{
"upcid":185213
}
}
{
"deleteitemsrequest" :
{
"upcid":185213
}
}
GET
Category Index
v3/catalog/category/index
This API provides an option to obtain all the categoryIDs in a hierarchical structure by making a call with the ââ¬Ëindexââ¬â¢ parameter. Then you can use the CategoryBrowse call (Below) to make subsequent calls to get the more detailed category info. Please click here for the additional documentation.
GET
Category Browse
v3/catalog/category/:categoryId
The CategoryBrowse service can retrieve information on the hierarchy of product categories as on Macys.com. In addition to the hierarchy details such as category description, Product IDs within the category & facets that can appear for those products can be retrieved.The API enables users to obtain category details by specifying a category ID. All of these category ID's can be pulled from the CategoryIndex call (above). Please click here for the additional documentation.
GET
Category Brand Index
v4/catalog/category/brandindex/:categoryId
This API allows users to specify Category(s) and retrieve the complete list of Brands for that Category(s). This is called the Brand Index. Please click here for the additional documentation.
GET
Category Browse Product
v3/catalog/category/:categoryId/browseproducts
The GetCategoryBrowse API call retrieves a list of products from a given category allowing you to browse the products. Please click here for the additional documentation.
GET
Product Index
v3/catalog/product/index
Get all products in our database using Product ID. Please click here for the additional documentation.
GET
Product Detail V3 (Using Product ID)
v3/catalog/product/:productId
Get product details in our database using Product ID. Please click here for the additional documentation.
Parameter
Value
Type
Description
:productId
int
Product ID(s). Multiple products can be returned if you separate the Product ID's with commas. (Required) Ex. 77589,166725
show
string
You can specify which values are returned. By default we return each attribute except Reviews and Promotion. To return this data you will need to be specified using the 'show' query parameter. You can specify multiple values by comma separating them. Available values: summary, price, attribute, promotion, image, category, availability, rebate, upc, review (Optional) Ex. summary or summary,price,rebate
imagewidth
string
Image Width (Optional) Ex.100 (Pixels)
imagequality
string
Image Quality (Optional) Ex.90
upcimagewidth
string
UPC Image Width (Optional) Ex.100 (Pixels)
swatchimagewidth
string
Swatch Image Width (Optional) Ex.100 (Pixels)
numOfReviews
string
Number of Reviews (Optional) Ex. 3
callback
string
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. (Optional) Ex. magicofmacysapi
GET
Product Detail V3 (Using UPC)
v3/catalog/product
Get product details in our database using UPC. Please click here for the additional documentation.
Parameter
Value
Type
Description
upc
int
UPC of the product. Multiple products can be returned if you separate the UPC's with commas. (Required) Ex. 50946872827,4003683257743
show
string
You can specify which values are returned. By default we return each attribute except Reviews and Promotions. To return this data you will need to use the 'show' query parameter. You can specify multiple values by comma separating them. Available values: summary, price, attribute, promotion, image, category, availability, rebate, upc, review (Optional) Ex. summary or summary,price,rebate
imagewidth
string
Image Width (Optional) Ex.100 (Pixels)
upcimagewidth
string
UPC Image Width (Optional) Ex.100 (Pixels)
swatchimagewidth
string
Swatch Image Width (Optional) Ex.100 (Pixels)
numOfReviews
string
Number of Reviews (Optional) Ex. 3
callback
string
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. (Optional) Ex. magicofmacysapi
GET
Product Detail V4 (Using Product ID)
v4/catalog/product/:productId
Get product details in our database using Product ID. Please click here for the additional documentation.
GET
Product Detail V4 (Using UPC ID)
v4/catalog/product/upc/:upcId
Get product details in our database using Product ID. Please click here for the additional documentation.
GET
Product Recommendations V4
v4/recommendations/product/:productId
The Product recommendations service allows you to specify a product and return related products that are recommended just as is done on Macys.com. Please click here for the additional documentation.
GET
BOPS Product Availability (Using Product ID) V4
v4/catalog/bops/product/:productId
The V4 BOPS (Buy Online Pick-up in Store) Product Availability service allows you specify a Product ID and return the products BOPS availability at a nearby store using zipcode, city-state, or locationnumber. Please click here for the additional documentation.
Parameter
Value
Type
Description
:productId
int
Product ID of the product you would like to return BOPS availability for. Multiple Product ID's can be specified here by comma separating. (Required) Ex. 77589. You can also specify what objects are returned here. Please visit the static documentation to view details
locationNumber
int
Location number of the area you are trying to locate a BOPS product. Required if you do not specify latitude/longitude, zipcode or city/state. (Optional) Ex.5459
latitude
int
BOPS look up by global coordinates. You must specify longitude parameter if you specify the latitude parameter. Required if you do not specify locationNumber, zipcode or city/state. (Required if also using longitude parameter) Ex. 37.355965
longitude
int
BOPS look up by global coordinates. You must specify latitude parameter if you specify the longitude parameter. First in priority if city and state and/or zipcode also supplied.(Required if also using latitude parameter) Ex. -122.01318
zipCode
int
Zip code of area you are trying to locate a BOPS product. Required if you do not specify locationNumber or city/state. (Optional) Ex.94105
city
string
Zip code of area you are trying to locate a BOPS product. You must specify state parameter if you specify the city parameter. Required if you do not specify locationNumber, latitude/longitude, or zipcode. (Optional) Ex.San Francisco
state
string
Zip code of area you are trying to locate a BOPS product. You must specify city parameter if you specify the state parameter. Required if you do not specify locationNumber, latitude/longitude, or zipcode. (Optional) Ex.CA
distance
string
Distance from location specified above using the locationNumber, zipcode, or city/state parameter. Default is 200 (miles). Can be a number between 1-200. (Optional) Ex.50
numberOfStores
string
Distance from location specified above using the locationNumber, zipcode, or city/state parameter. Default is 15. Can be a number between 1-15. (Optional) Ex.5
callback
string
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. (Optional) Ex. magicofmacysapi
GET
BOPS Product Availability (Using UPC ID) V4
v4/catalog/bops/upc/:upcId
The V4 BOPS (Buy Online Pick-up in Store) Product Availability service allows you specify a Product ID and return the products BOPS availability at a nearby store using zipcode, city-state, or locationnumber. Please click here for the additional documentation.
Parameter
Value
Type
Description
:upcId
int
Product ID of the product you would like to return BOPS availability for. Multiple Product ID's can be specified here by comma separating. (Required) Ex. 50946872827,96018254016 . You can also specify what objects are returned here. Please visit the static documentation to view details
locationNumber
int
Location number of the area you are trying to locate a BOPS product. Required if you do not specify latitude/longitude, zipcode or city/state. (Optional) Ex.5459
latitude
int
BOPS look up by global coordinates. You must specify longitude parameter if you specify the latitude parameter. Required if you do not specify locationNumber, zipcode or city/state. (Required if also using longitude parameter) Ex. 37.355965
longitude
int
BOPS look up by global coordinates. You must specify latitude parameter if you specify the longitude parameter. First in priority if city and state and/or zipcode also supplied.(Required if also using latitude parameter) Ex. -122.01318
zipCode
int
Zip code of area you are trying to locate a BOPS product. Required if you do not specify latitude/longitude, locationNumber or city/state. (Optional) Ex.94105
city
string
Zip code of area you are trying to locate a BOPS product. You must specify state parameter if you specify the city parameter. Required if you do not specify latitude/longitude, locationNumber or zipcode. (Optional) Ex.San Francisco
state
string
Zip code of area you are trying to locate a BOPS product. You must specify city parameter if you specify the state parameter. Required if you do not specify latitude/longitude, locationNumber or zipcode. (Optional) Ex.CA
distance
string
Distance from location specified above using the locationNumber, zipcode, or city/state parameter. Default is 200 (miles). Can be a number between 1-200. (Optional) Ex.50
numberOfStores
string
Distance from location specified above using the locationNumber, zipcode, or city/state parameter. Default is 15. Can be a number between 1-15. (Optional) Ex.5
callback
string
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. (Optional) Ex. magicofmacysapi
GET
Search Phrase
v4/catalog/search
Search for a product using string. Please click here for the additional documentation.
GET
Reviews
v3/catalog/reviews
GetCatalogReviews retrieves information about macys.com customer reviews. Please click here for the additional documentation.
GET
Refresh Status
v3/job/refreshjobstatus
The refreshstatus Service is a read only resource that returns the status and time of last data refresh. Please click here for the additional documentation.
GET
Promotions
v2/promotions
This service allows to retrieve promotions. Please click here for the additional documentation.
GET
Promotions and Coupons
v3/promotions
This service allows to retrieve promotions, coupons, or both using one call. Please click here for the additional documentation.
GET
Promotions Sorted
v3/promotions/sorted
The Promotions Sorted API call allows the users to get Deals and Promotion data set grouped and sorted by FOB to match data rendered on website. Please click here for the additional documentation.
Parameter
Value
Type
Description
channel
SITE
MOBILE
string
Channel for the Promotion (Optional) Ex. SITE
POST
Promotions Share
v3/promotions/share
The Promotions Share API allows users to use a POST call to send automated emails to recipient(s) about MACY's Promotions or Coupons. Please click here for the additional documentation.
Parameter
Value
Type
Description
Request Body
{
"channel": "SITE",
"promoCode": "VETDAY",
"promoId": "431690",
"recipientEmailAddress": "linda.macysapi@macys.com",
"senderEmailAddress": "daniel.macysapi@macys.com",
"senderName": "Daniel",
"message": "Hey honey check out this promotion at Macy.com - Love Dad"
}
{
"channel": "SITE",
"promoCode": "VETDAY",
"promoId": "431690",
"recipientEmailAddress": "linda.macysapi@macys.com",
"senderEmailAddress": "daniel.macysapi@macys.com",
"senderName": "Daniel",
"message": "Hey honey check out this promotion at Macy.com - Love Dad"
}
GET
Coupons
v2/promotions/coupons
This service allows to retrieve coupons. Please click here for the additional documentation.
GET
Events
store/v1/events
GetStoreEvents Provides a list of events in store for a given Store and date range. The search can be made by the storeId, locationNumber, or storeNumber. Please click here for the additional documentation.
GET
Location (Using Location Number)
/store/v2/stores/:locationNumber
This service allows users to find store information based on Location Number. You can also request store availability information for products and upc's. Please click here for the additional documentation.
Parameter
Value
Type
Description
:locationNumber
int
Product ID of the product you would like to return recommendations for (Required) Ex. 73,63.
feature
string
Response will be filtered by support of specific features in store. You can return by multiple features by comma separating. Supported values: BOPS, BRIDAL, HAS_EVENTS, MATTRESS, FURNITURE_GALLERY,VISITOR_CENTER, PERSONAL_SHOPPER, RESTAURANT (Optional) Ex. BOPS,BRIDAL
_fields
string
Filter Parameter that allows you to return just the fields you would like in the response (Optional) Ex. features,address,inventories,mapUrl,phoneNumber
upcNumber
int
Provides instore availability of a specific UPC at the store(s) you query. (Optional) Ex. 50946872827
productId
int
Provides instore availability of a specific product at the store(s) you query (Optional) Ex. 77589
GET
Location
store/v2/stores
This service allows users to find store information based on store number. You can also return store information base on location specified in a variety of ways. In addition you can request store availability information for products and upc's. If no location query parameters are provided you will return all store information. Please click here for the additional documentation.
Parameter
Value
Type
Description
storeNumber
int
This is the MST Store Number ZL_STORE_NBR. You can return multiple store information by comma separating. (Optional) Ex. 428,49
searchAddress
string
Input a string for this query parameter. This can be a city state combo, a full address, a general area, or even a zip code (Optional) Ex. 680 Folsom St San Francisco CA
latitude
int
Stores look up by global coordinates. (Optional) Ex. 37.355965
longitude
int
Stores look up by global coordinates. (Optional) Ex. -122.01318
radius
string
Radius (in miles) in which store should be located. Specified as Mnn e.g. M50, if not specified is set to M200 by default. Maximum radius is M200 (Optional)) Ex. M100
feature
string
Response will be filtered by support of specific features in store. You can return by multiple features by comma separating. Supported values: BOPS, BRIDAL, HAS_EVENTS, MATTRESS, FURNITURE_GALLERY,VISITOR_CENTER, PERSONAL_SHOPPER, RESTAURANT (Optional) Ex. BOPS,BRIDAL
_limit
int
Filter the number of stores being returned. By default we return all the stores in a 200 mile radius unless the radius is defined to be less. (Optional) Ex. 5
_fields
string
Filter Parameter that allows you to return just the fields you would like in the response (Optional) Ex. features,address,inventories,mapUrl,phoneNumber
upcNumber
int
Provides instore availability of a specific UPC at the store(s) you query. (Optional) Ex. 50946872827
productId
int
Provides instore availability of a specific product at the store(s) you query (Optional) Ex. 77589