Assigns or unassigns an inventory location to/from an inventory item.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

The requested API version

Body Params

The request containing inventory item identifier(s) and location information.

Request model for assigning or unassigning an inventory location to an inventory item.

int64 | null

The unique identifier of the inventory item (optional if ExternalRefKey is provided).

string | null

The external reference key for the inventory item (optional if InventoryItemId is provided).
Note: If only ExternalRefKey is provided, the latest inventory item with that key will be used.

int64
required

The unique identifier of the inventory location (Inventory.Location.Id) to assign/unassign (required).
This corresponds to the LocationId returned by /v3/inventory/locationsquantities/search
and the LocationId returned by /v4/inventory/locations/search.

boolean

Indicates whether to assign (true) or unassign (false) the location.
Defaults to true (assign) if not specified.

Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json