Requisition object plus a RequisitionItem array. At least one line item is required for a meaningful requisition.Requisition.store_id (a valid, active warehouse). Each line item needs a product_id and a positive quantity.{ "status": true, "id": <new id> } returned with HTTP 200. Add the extended flag to also receive the saved record under data.{ "status": false, "message": ..., "errors": { ... } } (also HTTP 200). A line quantity of zero or less, or an attachment sent as an array instead of a comma-separated string, are rejected with HTTP 400.curl --location --globoff 'https://.daftra.com/api2/requisitions?extended=1' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"Requisition": {
"store_id": 5,
"type": 1,
"order_type": 1,
"to_store_id": 96,
"date": "2026-06-30",
"currency_code": "BTN",
"journal_account_id": 59,
"number": "96",
"notes": "Restock",
"attachment": "eiusmod",
"draft": -82264631,
"is_manufacturing_order": 51368366,
"is_stock_request": -33256250,
"work_order_id": 48
},
"RequisitionItem": [
{
"product_id": 123,
"quantity": 10,
"unit_price": 50,
"cost_center_id": 35,
"lot": "ut Excepteur qui",
"expiry_date": "2026-06-30",
"serials": [
"enim laboris",
"Excepteur"
]
},
{
"product_id": 123,
"quantity": 10,
"unit_price": 50,
"cost_center_id": 81,
"lot": "ut deserunt mollit in Lorem",
"expiry_date": "2026-05-23",
"serials": [
"sunt id aliqua dolore"
]
},
{
"product_id": 123,
"quantity": 10,
"unit_price": 50,
"cost_center_id": 64,
"lot": "nulla",
"expiry_date": "2025-12-22",
"serials": [
"incididunt dolor in ut",
"non sint ad minim Lorem"
]
}
]
}'{
"status": true,
"id": 1234,
"data": {
"Requisition": {},
"RequisitionItem": [
{}
]
}
}