Sign in

Create inventory location

documented

Create a new inventory location.

POST /sell/inventory/v1/locationInventory Locationsno implementation yet0 runs
No 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}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"location": {"address": {"addressLine1": "{{$addressLine1}}","addressLine2": "{{$addressLine2}}","city": "{{$city}}","stateOrProvince": "{{$state}}","postalCode": "{{$postalCode}}","country": "{{$country}}"},"geoCoordinates": {"latitude": {{$latitude}},"longitude": {{$longitude}} }},"name": "{{$name}}","locationTypes": ["{{$locationType}}"],"merchantLocationStatus": "{{$merchantLocationStatus}}","timeZoneId": "{{$timeZoneId}}","locationWebUrl": "{{$locationWebUrl}}","locationAdditionalInformation": "{{$locationAdditionalInformation}}","locationInstructions": "{{$locationInstructions}}","phone": "{{$phone}}"}'"