PUT /landed-cost-purchase-invoices/{id}.json
PUT
/landed-cost-purchase-invoices/{id}.json
Path parameters
-
id integer(int64) Required
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
amount number Required
Amount
Default value is
0
. -
createdAt string(date-time)
Created at
-
id integer(int32)
Id
-
landedCostId integer(int32) Required
Landed cost
-
purchaseInvoiceId integer(int32) Required
Purchase invoice
-
updatedAt string(date-time)
Updated at
PUT /landed-cost-purchase-invoices/{id}.json
curl \
-X PUT http://api.example.com/v1/landed-cost-purchase-invoices/{id}.json \
-H "Content-Type: application/json" \
-d '{"amount":0,"createdAt":"2023-05-04T09:42:00+00:00","id":42,"landedCostId":42,"purchaseInvoiceId":42,"updatedAt":"2023-05-04T09:42:00+00:00"}'
Request example
{
"amount": 0,
"createdAt": "2023-05-04T09:42:00+00:00",
"id": 42,
"landedCostId": 42,
"purchaseInvoiceId": 42,
"updatedAt": "2023-05-04T09:42:00+00:00"
}