POST /landed-cost-purchase-invoice-items.json
POST
/landed-cost-purchase-invoice-items.json
Body Required
-
amount number Required
Amount
Default value is
0
. -
landedCostId integer(int32) Required
Landed cost
-
purchaseInvoiceItemId integer(int32) Required
Purchase invoice item
POST /landed-cost-purchase-invoice-items.json
curl \
-X POST http://api.example.com/v1/landed-cost-purchase-invoice-items.json \
-H "Content-Type: application/json" \
-d '{"amount":0,"landedCostId":42,"purchaseInvoiceItemId":42}'
Request example
{
"amount": 0,
"landedCostId": 42,
"purchaseInvoiceItemId": 42
}
Response examples (200)
{
"amount": 0,
"createdAt": "2023-05-04T09:42:00+00:00",
"id": 42,
"landedCostId": 42,
"purchaseInvoiceItemId": 42,
"updatedAt": "2023-05-04T09:42:00+00:00"
}