Skip to main content
POST
/
commerce
/
inventory
/
v5
/
inventory
/
deallocate
Error
A valid request URL is required to generate request examples
{
  "success": true,
  "messages": [
    "<string>"
  ],
  "numResults": 123
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Body

application/json

Request to allocate inventory

Request needed for allocating inventory

items
AllocateItem · object[]

list of AllocateItems

orderDate
string

order date

orderWeight
integer

order weight

decrementOnHandOnDeallocate
boolean

flag to determine deallocation on decrements

autoAssign
boolean

flag to determine whether the allocation was due to auto assignment

runSynchronous
boolean

flag to determine whether the runSyncronous flag is set and the allocation should be run synchronously

locationCode
string

Location Code

userID
integer

user id

pageSize
integer

how many results to show per page

pageNum
integer

which page to show

sortBy
string

index to sort results by

Response

Success

Base Response Model

success
boolean

Flag for success

messages
string[]

List of messages

numResults
integer

Number of results