Macy's Product
Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.
GET
Read a Macy's product from its URL or numeric id.
Credit cost: 1 credit per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringProduct URL on macys.com, or a numeric product id.
return_page_source?booleanReturn the page HTML instead of the parsed product.
Default
falsefields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
Default
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
Default
falseSuccessful response
application/json- response
id?stringurl?stringbrand?stringcolor?stringprice?numbersizes?array<>title?stringimages?array<string>currency?stringprice_display?stringcompare_at_price?numbercurl -X GET 'https://api.piloterr.com/v2/macys/product?query=string'Example Response
{
"id": "28944131",
"url": "https://www.macys.com/shop/product/cupshe-womens-off-the-shoulder-lace-trim-a-line-midi-dress?ID=28944131",
"brand": "Cupshe",
"color": "Black",
"price": 53.99,
"sizes": [
{
"size": "L",
"in_stock": true
},
{
"size": "M",
"in_stock": true
},
{
"size": "XL",
"in_stock": true
},
{
"size": "S",
"in_stock": true
}
],
"title": "Women's Off-the-Shoulder Lace-Trim A-Line Midi Dress",
"images": [
"https://slimages.macysassets.com/is/image/MCY/products/7/optimized/39954387_fpx.tif",
"https://slimages.macysassets.com/is/image/MCY/products/4/optimized/39954384_fpx.tif",
"https://slimages.macysassets.com/is/image/MCY/products/3/optimized/39954383_fpx.tif",
"https://slimages.macysassets.com/is/image/MCY/products/5/optimized/39954385_fpx.tif"
],
"currency": "USD",
"price_display": "$53.99",
"compare_at_price": 59.99
}