Skip to main content

OrderLineItemInput

type OrderLineItemInput {
id: ID
discount: OrderLineDiscountInput
discountPrice: Float
options: [OrderLineOptionInput!]
price: Float!
quantity: Float!
sourceId: String
variant: OrderLineVariantInput!
}

Fields

idID

It is the discount information that will be applied to the line item.

discountPriceFloat

It is the discount price of the line item.

It is the options information in the order line item.

priceFloat!required

It is the price of the line item.

quantityFloat!required

It is the quantity of the line item.

sourceIdString

It is the source id of the line item. If the order came from the marketplace, it shows the line id in the marketplace.

variantOrderLineVariantInput!required

It is the variant information in the order line item.