Skip to main content
object

Requires read_orders access scope or read_marketplace_orders access scope.

The LineItem object represents a single product or service that a customer purchased in an order. Each line item is associated with a product variant and can have multiple discount allocations. Line items contain details about what was purchased, including the product variant, quantity, pricing, and fulfillment status.

Use the LineItem object to manage the following processes:

Line items can also include custom attributes and properties, allowing merchants to add specific details about each item in an order. Learn more about managing orders and fulfillment.

•SubscriptionContract

The subscription contract associated with this line item.

•Int!non-null

The number of units ordered, excluding refunded and removed units.

•[Attribute!]!non-null

A list of attributes that represent custom features or special requests.

•[DiscountAllocation!]!non-null

The discounts that have been allocated to the line item by discount applications, including discounts allocated to refunded and removed quantities.

•MoneyBag!non-null

The total discounted price of the line item in shop and presentment currencies, including refunded and removed quantities. This value doesn't include order-level discounts. Code-based discounts aren't included by default.

Anchor to discountedUnitPriceAfterAllDiscountsSetdiscountedUnitPriceAfterAllDiscountsSet
•MoneyBag!non-null

The approximate unit price of the line item in shop and presentment currencies. This value includes discounts applied to refunded and removed quantities.

Anchor to discountedUnitPriceSetdiscountedUnitPriceSet
•MoneyBag!non-null

The approximate unit price of the line item in shop and presentment currencies. This value includes line-level discounts and discounts applied to refunded and removed quantities. It doesn't include order-level or code-based discounts.

•[Duty!]!non-null

The duties associated with the line item.

•ID!non-null

A globally-unique ID.

•Image

The image associated to the line item's variant.

•Boolean!non-null

Whether the line item represents the purchase of a gift card.

•LineItemGroup

The line item group associated to the line item.

•Boolean!non-null

Whether the line item can be edited or not.

•String!non-null

The title of the product, optionally appended with the title of the variant (if applicable).

Anchor to nonFulfillableQuantitynonFulfillableQuantity
•Int!non-null

The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the FulfillmentOrder object for more fulfillment details.

•MoneyBag!non-null

In shop and presentment currencies, the total price of the line item when the order was created. This value doesn't include discounts.

Anchor to originalUnitPriceSetoriginalUnitPriceSet
•MoneyBag!non-null

In shop and presentment currencies, the unit price of the line item when the order was created. This value doesn't include discounts.

•Product

The Product object associated with this line item's variant.

•Int!non-null

The number of units ordered, including refunded and removed units.

•Int!non-null

The number of units ordered, excluding refunded units and removed units.

•Boolean!non-null

Whether physical shipping is required for the variant.

•Boolean!non-null

Whether the line item can be restocked.

•LineItemSellingPlan

The selling plan details associated with the line item.

•String

The variant SKU number.

•StaffMember

Staff attributed to the line item.

•Boolean!non-null

Whether the variant is taxable.

•[TaxLine!]!non-null

The taxes charged for the line item, including taxes charged for refunded and removed quantities.

•String!non-null

The title of the product at time of order creation.

•MoneyBag!non-null

The total discount allocated to the line item in shop and presentment currencies, including the total allocated to refunded and removed quantities. This value doesn't include order-level discounts.

Anchor to unfulfilledDiscountedTotalSetunfulfilledDiscountedTotalSet
•MoneyBag!non-null

In shop and presentment currencies, the total discounted price of the unfulfilled quantity for the line item.

Anchor to unfulfilledOriginalTotalSetunfulfilledOriginalTotalSet
•MoneyBag!non-null

In shop and presentment currencies, the total price of the unfulfilled quantity for the line item. This value doesn't include discounts.

•Int!non-null

The number of units not yet fulfilled.

•ProductVariant

The Variant object associated with this line item.

•String

The title of the variant at time of order creation.

•String

The name of the vendor who made the variant.

Deprecated fields

•Boolean!non-nullDeprecated
•Money!non-nullDeprecated
•Money!non-nullDeprecated
•Int!non-nullDeprecated
•FulfillmentServiceDeprecated
•String!non-nullDeprecated
•Money!non-nullDeprecated
•Money!non-nullDeprecated
•Money!non-nullDeprecated
Anchor to unfulfilledDiscountedTotalunfulfilledDiscountedTotal
•Money!non-nullDeprecated
Anchor to unfulfilledOriginalTotalunfulfilledOriginalTotal
•Money!non-nullDeprecated

Was this section helpful?

•interface

Was this section helpful?
OSZAR »