POST /landed-cost-purchase-invoice-items.json
Body
Required
-
amount
number Required Amount
Default value is
0
. -
exchangeIso
string | null Exchange iso
-
exchangeRate
number(float) | null Exchange rate
-
landedCostId
integer(int32) Required Landed cost
-
purchaseInvoiceItemId
integer(int32) Required Purchase invoice item
POST
/landed-cost-purchase-invoice-items.json
curl \
--request POST 'http://api.example.com/v1/landed-cost-purchase-invoice-items.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"amount":0,"exchangeIso":"string","exchangeRate":42.0,"landedCostId":42,"purchaseInvoiceItemId":42}'
Request examples
{
"amount": 0,
"exchangeIso": "string",
"exchangeRate": 42.0,
"landedCostId": 42,
"purchaseInvoiceItemId": 42
}
Response examples (200)
{
"amount": 0,
"createdAt": "2025-05-04T09:42:00Z",
"exchangeIso": "string",
"exchangeRate": 42.0,
"id": 42,
"landedCostId": 42,
"purchaseInvoiceItemId": 42,
"updatedAt": "2025-05-04T09:42:00Z"
}