curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.stateset.com/api/v1/put-aways' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"assigned_to": "string",
"from_location_id": 1001,
"lot_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "Two-person tent, green — replacement for damaged pole set.",
"quantity": "2",
"receipt_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"receipt_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sku": "SKU-TENT-2P-GRN",
"to_location_id": 1001
}'
{
"assigned_to": "string",
"created_at": "2026-08-31T14:22:05Z",
"from_location_id": 1001,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": "2",
"receipt_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"receipt_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sku": "SKU-TENT-2P-GRN",
"status": "pending",
"to_location_id": 1001
}
Create a put away
Create a put away
POST
/
api
/
v1
/
put-aways
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.stateset.com/api/v1/put-aways' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"assigned_to": "string",
"from_location_id": 1001,
"lot_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "Two-person tent, green — replacement for damaged pole set.",
"quantity": "2",
"receipt_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"receipt_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sku": "SKU-TENT-2P-GRN",
"to_location_id": 1001
}'
{
"assigned_to": "string",
"created_at": "2026-08-31T14:22:05Z",
"from_location_id": 1001,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": "2",
"receipt_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"receipt_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sku": "SKU-TENT-2P-GRN",
"status": "pending",
"to_location_id": 1001
}
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
Request body
CreatePutAwayRequest
string,null
integer,null (int32)
string,null
string,null
string
required
Decimal quantity as a string.
string
required
string
required
string
required
integer (int32)
required
Response
PutAwayResponse
string,null
string
required
integer,null (int32)
string
required
string
required
string
required
string
required
string
required
string
required
integer (int32)
required
Status codes
| Code | Meaning |
|---|---|
201 | — |
400 | — |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.stateset.com/api/v1/put-aways' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"assigned_to": "string",
"from_location_id": 1001,
"lot_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "Two-person tent, green — replacement for damaged pole set.",
"quantity": "2",
"receipt_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"receipt_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sku": "SKU-TENT-2P-GRN",
"to_location_id": 1001
}'
{
"assigned_to": "string",
"created_at": "2026-08-31T14:22:05Z",
"from_location_id": 1001,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": "2",
"receipt_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"receipt_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sku": "SKU-TENT-2P-GRN",
"status": "pending",
"to_location_id": 1001
}
Last modified on September 21, 2026