externalLocationId does not exist, Flype will create a new location.externalLocationId already exists, Flype will update the existing location (no duplicate created).externalLocationId (recommended)./rates, PlaceBulk).externalLocationId already exists in Flype, the request will update the existing location (upsert behavior) instead of creating a duplicate.curl --location '/locations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"externalLocationId": "STORE_123",
"name": "Store Name - Downtown",
"address": {
"street1": "233 West 52nd streeet",
"street2": "Building 3",
"city": "New York",
"postalCode": "10101",
"country": "United States"
},
"contact": {
"name": "Pickup Desk",
"phone": "+1501234567"
},
"notes": "Back door pickup"
}'{
"status": "success",
"data": {
"externalLocationId": "STORE_123",
"created": true
}
}