Order Create Line Item Input
The input fields for a line item to create for an order.
Anchor to FieldsFields
- Anchor to fulfillmentServicefulfillment•String
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•BooleanDefault:false
Card Whether the item is a gift card. If true, then the item is not taxed or considered for shipping charges.
- Anchor to priceSetprice•Money
Set Bag Input The price of the item before discounts have been applied in the shop currency.
- Anchor to productIdproduct•ID
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•[Order
Create Line Item Property Input!] 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•BooleanDefault:false
Shipping Whether the item requires shipping.
- •String
The item's SKU (stock keeping unit).
- Anchor to taxabletaxable•BooleanDefault:true
Whether the item was taxable.
- Anchor to taxLinestax•[Order
Lines Create Tax Line Input!] A list of tax line objects, each of which details a tax applied to the item.
- Anchor to titletitle•String
The title of the product.
- Anchor to variantIdvariant•ID
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•String
Title The title of the product variant.
- Anchor to vendorvendor•String
The name of the item's supplier.
- Anchor to weightweight•Weight
Input The weight of the line item. This will take precedence over the weight of the product variant, if one was specified.
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
The line items to create for the order.