LineItems is a common object that you can find on Cart, Orders and Invoice Orders.
It contains all the info about the product in the state it was in when ordered, so changes to the current product being sold don't affect data in orders.

Attributes

Title

Type

Description

id

int

ID of the item

product_id

int

Product ID. The product might not exist anymore

title

string

Title of the product

is_multi

bool

Whether product is multi variant

type

string

Type of the product

is_giftcard

bool

Whether product is a gift card

shipping_weight

float

Shipping weight of the product

vendor

string

Vendor of the product

auto_fulfilment

bool

Whether auto fulfilment is enabled for the product

track_inventory

bool

Whether product tracks inventory

sku

string

SKU of the product

price

decimal

Price of the product

compare_price

decimal

Compare price of the product

image

string

URL to the product image

image_max_size

int

Max size of the image. Refer to Images

variant

array

Variant info.
Includes:

  • id (int)
  • variant (array of strings)
"data": {
  "id": 9554,
  "product_id": 269,
  "title": "Choker",
  "is_multi": true,
  "type": "Choker",
  "is_giftcard": false,
  "shipping_weight": 2,
  "vendor": null,
  "auto_fulfilment": false,
  "track_inventory": false,
  "sku": "M-WS1",
  "price": 13.94,
  "compare_price": 46.5,
  "image": null,
  "image_max_size": 7,
  "variant": {
    "id": 1185,
    "variant": [
      "Black"
    ]
  }
}