OrderCreateLineItemInput
The input fields for a line item to create for an order.
Anchor to FieldsFields
- Anchor to fulfillmentServicefulfillment•
Service The handle of a fulfillment service that stocks the product variant belonging to a line item.
This is a third-party fulfillment service in the following scenarios:
Scenario 1
- The product variant is stocked by a single fulfillment service.
- The FulfillmentService is a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value
manual
.
Scenario 2
- Multiple fulfillment services stock the product variant.
- The last time that the line item was unfulfilled, it was awaiting fulfillment by a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value
manual
.
If none of the above conditions are met, then the fulfillment service has the
manual
handle.- Anchor to giftCardgift•
Card BooleanDefault:false Whether the item is a gift card. If true, then the item is not taxed or considered for shipping charges.
- Anchor to priceSetprice•
Set The price of the item before discounts have been applied in the shop currency.
- Anchor to productIdproduct•
Id The ID of the product that the line item belongs to. Can be
null
if the original product associated with the order is deleted at a later date.- Anchor to propertiesproperties•
An array of custom information for the item that has been added to the cart. Often used to provide product customization options.
- Anchor to quantityquantity•Int!non-null
The number of items that were purchased.
- Anchor to requiresShippingrequires•
Shipping BooleanDefault:false Whether the item requires shipping.
- •
The item's SKU (stock keeping unit).
- Anchor to taxabletaxable•BooleanDefault:true
Whether the item was taxable.
- Anchor to taxLinestax•
Lines A list of tax line objects, each of which details a tax applied to the item.
- Anchor to titletitle•
The title of the product.
- Anchor to variantIdvariant•
Id The ID of the product variant. If both
and
are provided, then the product ID that corresponds to the
is used.
- Anchor to variantTitlevariant•
Title The title of the product variant.
- Anchor to vendorvendor•
The name of the item's supplier.
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
The line items to create for the order.