PUT /landed-cost-purchase-invoice-items/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
Amount
Default value is
0
. -
createdAt string(date-time)
Created at
-
exchangeIso string | null
Exchange iso
-
exchangeRate number(float) | null
Exchange rate
-
id integer(int32)
Id
-
Landed cost
-
Purchase invoice item
-
updatedAt string(date-time)
Updated at
PUT /landed-cost-purchase-invoice-items/{id}.json
curl \
-X PUT http://api.example.com/v1/landed-cost-purchase-invoice-items/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
Request example
{
"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"
}