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