curl --request POST \
--url 'https://api.stateset.com/api/v1/warehouse-inventory/move' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"from_location_id": 1,
"lot_id": null,
"performed_by": null,
"quantity": "string",
"reason": null,
"sku": "string",
"to_location_id": 1
}'
{
"created_at": "string",
"from_location_id": null,
"id": "string",
"movement_type": "string",
"quantity": "string",
"reason": null,
"sku": "string",
"to_location_id": null
}
Inventory move
Inventory move
POST
/
api
/
v1
/
warehouse-inventory
/
move
curl --request POST \
--url 'https://api.stateset.com/api/v1/warehouse-inventory/move' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"from_location_id": 1,
"lot_id": null,
"performed_by": null,
"quantity": "string",
"reason": null,
"sku": "string",
"to_location_id": 1
}'
{
"created_at": "string",
"from_location_id": null,
"id": "string",
"movement_type": "string",
"quantity": "string",
"reason": null,
"sku": "string",
"to_location_id": null
}
Request body
MoveInventoryRequest
integer (int32)
required
string,null
string,null
string
required
Decimal quantity as a string.
string,null
string
required
integer (int32)
required
Responses
MovementResponse
ErrorBody
curl --request POST \
--url 'https://api.stateset.com/api/v1/warehouse-inventory/move' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"from_location_id": 1,
"lot_id": null,
"performed_by": null,
"quantity": "string",
"reason": null,
"sku": "string",
"to_location_id": 1
}'
{
"created_at": "string",
"from_location_id": null,
"id": "string",
"movement_type": "string",
"quantity": "string",
"reason": null,
"sku": "string",
"to_location_id": null
}
โI