POST
/
inventories
/
actions
/
find-by-geography

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-fabric-tenant-id
string
required

Merchant's 24-character tenant ID

x-fabric-request-id
string

Unique request ID

x-fabric-channel-id
string

Sales channel ID

x-fabric-channel-ids
string

Sales channel IDs. Note: Use xFabricChannelIds for multiple channels, and xFabricChannelId for single channel.

Body

application/json
locationTypes
string[]

List of location types

origin
object
required

Geo search origin. Must include (postalCode) OR (city and region and countryCode) OR (latitude and longitude)

skus
string[]

List of SKUs for which the inventories are to be searched within the specified region

Response

200 - application/json
inventories
object[]

Inventories present in queried region.

locations
object[]

List Locations sorted by nearest first where Inventory present in queried region.