{
"filters": [
{
"field": "name",
"values": [
"New Yor"
]
},
{
"field": "category",
"values": [
"STATE"
]
}
]
}
curl --location --request POST 'https://www.amazon.com/ap/oa/locations/list' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"filters": [
{
"field": "name",
"values": [
"New Yor"
]
},
{
"field": "category",
"values": [
"STATE"
]
}
]
}'
{
"locations": [
{
"category": "STATE",
"locationId": "amzn1.ad-geo.G23XLKJV9KV95N",
"name": "New York, US"
}
]
}