GET /landed-cost-purchase-invoice-items/{id}.json

GET /landed-cost-purchase-invoice-items/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • amount number 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

    • landedCostId integer(int32) Required

      Landed cost

    • purchaseInvoiceItemId integer(int32) Required

      Purchase invoice item

    • updatedAt string(date-time)

      Updated at

GET /landed-cost-purchase-invoice-items/{id}.json
curl \
 --request GET 'http://api.example.com/v1/landed-cost-purchase-invoice-items/{id}.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
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"
}