Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to OrderCreateLineItemInput

OrderCreateLineItemInput

input_object

The input fields for a line item to create for an order.

•

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.

•
BooleanDefault:false

Whether the item is a gift card. If true, then the item is not taxed or considered for shipping charges.

•

The price of the item before discounts have been applied in the shop currency.

•

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.

•

An array of custom information for the item that has been added to the cart. Often used to provide product customization options.

•
Int!non-null

The number of items that were purchased.

•
BooleanDefault:false

Whether the item requires shipping.

•

The item's SKU (stock keeping unit).

•
BooleanDefault:true

Whether the item was taxable.

•

A list of tax line objects, each of which details a tax applied to the item.

•

The title of the product.

•

The ID of the product variant. If both productId and variantId are provided, then the product ID that corresponds to the variantId is used.

•

The title of the product variant.

•

The name of the item's supplier.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•
INPUT OBJECT

The line items to create for the order.


Was this section helpful?