POST
/
inventories
/
actions
/
find

Authorizations

Authorization
string
header
required

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

Headers

x-fabric-tenant-id
string
required

A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.

x-fabric-request-id
string

Unique request ID

x-fabric-channel-id
string

x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is an optional field. The default US channel is 12 while the default Canada channel is 13.

x-fabric-channel-ids
string

x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is an optional field. The default US channel is 12 while the default Canada channel is 13. This field is optional. Note: Use xFabricChannelIds for multiple channels, and xFabricChannelId for a single channel.

Query Parameters

offset
integer
default:
0

Number of records to be skipped before returning all records. Default is 0 when no value is specified.

limit
integer
default:
10

Maximum number of records to be returned on a single page. For example, when offset=20 and limit=10, it returns records 21-30 on a single page. Default is 10 when no value is specified.

Required range: 1 < x < 100

Body

application/json

Find inventory request

itemIds
integer[]

List of item IDs for which the inventories are to be searched

locationNumbers
integer[]

Location numbers

locationTypes
string[]

Location types

networkCodes
string[]

Codes associated with networks in which inventory of the SKUs are maintained

region
string

Region

segments
string[]

Segments

skus
string[]

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

Response

200 - application/json

Find inventory response

data
object[]
pagination
object

Pagination response