POST /warehouses/{id}/transfer.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
POST
/warehouses/{id}/transfer.json
curl \
-X POST http://api.example.com/v1/warehouses/{id}/transfer.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"createdAt":"2024-05-04T09:42:00+00:00","fromWarehouseId":42,"id":42,"notes":"string","reference":"string","toWarehouseId":42,"updatedAt":"2024-05-04T09:42:00+00:00","userId":42}'
Request example
{
"createdAt": "2024-05-04T09:42:00+00:00",
"fromWarehouseId": 42,
"id": 42,
"notes": "string",
"reference": "string",
"toWarehouseId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00",
"userId": 42
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"fromWarehouseId": 42,
"id": 42,
"notes": "string",
"reference": "string",
"toWarehouseId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00",
"userId": 42
}