GET /price-list-variants/{id}.json

GET /price-list-variants/{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
    • compareAtPrice number | null

      Compare at price

    • createdAt string(date-time)

      Created at

    • hash string | null

      Hash

    • id integer(int32)

      Id

    • price number Required

      Price

    • priceListId integer(int32) Required

      Price list

    • priceListImportId integer(int32) | null

      Price list import

    • sku string Required

      Sku

    • updatedAt string(date-time)

      Updated at

    • variantId integer(int32) | null

      Variant

GET /price-list-variants/{id}.json
curl \
 --request GET 'http://api.example.com/v1/price-list-variants/{id}.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "compareAtPrice": 42.0,
  "createdAt": "2025-05-04T09:42:00Z",
  "hash": "string",
  "id": 42,
  "price": 42.0,
  "priceListId": 42,
  "priceListImportId": 42,
  "sku": "string",
  "updatedAt": "2025-05-04T09:42:00Z",
  "variantId": 42
}