Load on-hand lots for SKULs

Loads on-hand inventory by lot into GAINS X; one record is one item with, for each location, its lots. Records that pass validation are loaded asynchronously; follow the returned task. See Inventory & Supply.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 1 and 65

Unique item code

Locations
array of objects
required
length ≥ 1

List of locations where the item is stocked

Locations*

List of locations where the item is stocked

string
required
length between 1 and 80

Location code where the item is stocked

Lots
array of objects
required
length ≥ 1

List of lots for the item at the location

Lots*

List of lots for the item at the location

string
required
length between 1 and 20

Lot number for the item

int32
required

Quantity on hand for the lot

date

Expiration date of the lot, if applicable (YYYY-MM-DD)

date

Date the lot was created (YYYY-MM-DD)

ExtendedData
object

Customer-defined extended data attributes for this record, keyed by the API label configured for the payload (see GET /api/v1/extended-data). Labels configured as required must be present. If no extended data is configured for this payload, a record carrying ExtendedData is rejected.

Headers
string
length ≤ 255

Optional key that makes a retry safe. A request repeating a key already used on this endpoint within the last 24 hours is refused with 400 and nothing is submitted again. A UUID is recommended; at most 255 characters

string
enum
Defaults to application/json

Generated from available response 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