POST /landed-cost-purchase-invoice-items.json
Body Required
-
Amount
Default value is
0
. -
exchangeIso string | null
Exchange iso
-
exchangeRate number(float) | null
Exchange rate
-
Landed cost
-
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 "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"amount":0,"exchangeIso":"string","exchangeRate":42.0,"landedCostId":42,"purchaseInvoiceItemId":42}'
Request example
{
"amount": 0,
"exchangeIso": "string",
"exchangeRate": 42.0,
"landedCostId": 42,
"purchaseInvoiceItemId": 42
}
Response examples (200)
{
"amount": 0,
"createdAt": "2024-05-04T09:42:00+00:00",
"exchangeIso": "string",
"exchangeRate": 42.0,
"id": 42,
"landedCostId": 42,
"purchaseInvoiceItemId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00"
}