Body
Required
-
quantity
integer(int32) Required Quantity
Default value is
0
. -
saleInvoiceId
integer(int32) Required Sale invoice
-
saleItemId
integer(int32) Required Sale item
POST
/sale-invoice-items.json
curl \
--request POST 'http://api.example.com/v1/sale-invoice-items.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"quantity":0,"saleInvoiceId":42,"saleItemId":42}'
Request examples
{
"quantity": 0,
"saleInvoiceId": 42,
"saleItemId": 42
}
Response examples (200)
{
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"quantity": 0,
"saleInvoiceId": 42,
"saleItemId": 42,
"updatedAt": "2025-05-04T09:42:00Z"
}