POST /sale-invoice-items.json

POST /sale-invoice-items.json
application/json

Body Required

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
POST /sale-invoice-items.json
curl \
 -X POST http://api.example.com/v1/sale-invoice-items.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"quantity":0,"saleInvoiceId":42,"saleItemId":42}'
Request example
{
  "quantity": 0,
  "saleInvoiceId": 42,
  "saleItemId": 42
}
Response examples (200)
{
  "createdAt": "2024-05-04T09:42:00+00:00",
  "id": 42,
  "quantity": 0,
  "saleInvoiceId": 42,
  "saleItemId": 42,
  "updatedAt": "2024-05-04T09:42:00+00:00"
}