Update inventory location
documentedUpdate an existing inventory location.
PUT /sell/inventory/v1/location/{merchantLocationKey}Inventory Locationsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.ebay.com/sell/inventory/v1/location/{{$merchantLocationKey}}/update_location_details" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "{{$name}}",
"phone": "{{$phone}}",
"location": {
"address": {
"addressLine1": "{{$addressLine1}}",
"addressLine2": "{{$addressLine2}}",
"city": "{{$city}}",
"stateOrProvince": "{{$stateOrProvince}}",
"postalCode": "{{$postalCode}}",
"country": "{{$country}}"
},
"geoCoordinates": {
"latitude": {{$latitude}},
"longitude": {{$longitude}}
}
},
"locationWebUrl": "{{$locationWebUrl}}",
"locationInstructions": "{{$locationInstructions}}",
"timeZoneId": "{{$timeZoneId}}",
"locationAdditionalInformation": "{{$locationAdditionalInformation}}",
"operatingHours": {{$operatingHours}},
"locationTypes": {{$locationTypes}}
}'