代表购物车中的一行-LineItemMutable 对象
代表购物车中的一行。
所需的访问
read_orders 访问范围。
在本页面
字段
- customAttributes(
[[Attribute!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/attribute))
有关该订单项的其他信息(元字段)列表。 - DiscountAllocations(
[[DiscountAllocation!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountallocation))
折扣申请已分配给订单项的折扣。 - discountedTotalSet(
[MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
折扣后的总行价以商店和演示货币应用。 - discountedUnitPriceSet(
[MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
订单项折扣后单个变体单元的价格以商店和展示货币应用。 - fulfillableQuantity(
[Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
要完成的单位总数。 - fulfillmentService(
[FulfillmentService!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentservice))
完成订单的服务提供商的名称。
有效值可以是手动值,也可以是提供者的名称。例如,亚马逊,shipwire。 - fulfillmentStatus(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
订单项的完成状态。如果compleableQuantity> =数量,则返回“ fulfilled”;如果comableableQuantity> 0,则返回“ partial”,否则返回“ unfulfilled”。 - id(
[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
全局唯一标识符。 - image(
[Image](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/image))
与订单项变体相关的Image对象。 
| 参数 | 描述 | 
|---|---|
crop() [CropRegion](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/cropregion) | 
根据指定区域裁剪图像。不建议使用此参数:改为使用cropon Image.transformedSrc。 | 
maxHeight() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) | 
图片高度,以像素为单位,介于1到2048之间。不建议使用此参数:改为使用maxHeighton Image.transformedSrc。 | 
maxWidth() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) | 
图像宽度(以像素为单位,介于1到2048之间)。不建议使用此参数:改为使用maxWidthon Image.transformedSrc。 | 
scale() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) | 
高分辨率视网膜显示器的图像尺寸倍增器。必须在1到3之间。不建议使用此参数:改为使用scaleon Image.transformedSrc。默认值: 1 | 
- vendorEditable(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
订单项是否可以编辑。 - name(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
产品名称。 - nonFulfillableQuantity(
[Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
不能满足的订单项数量的计数。 - originalTotalSet(
[MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
订单项的总价(无折扣),基于变体的原始单价x商店和展示货币的数量。 - originalUnitPriceSet(
[MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
变动价格,不采用商店和演示货币的任何折扣。 - product(
[Product](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/product))
与该订单项的变体相关联的Product对象。 - quantity(
[Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
订购的变体项目数。 - refundableQuantity(
[Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
订单项的数量减去退款金额。 - requireShipping(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
该变体是否需要物理运输。 - restockable(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
订单项的变体是否具有ID和库存由Shopify管理。 - sku(
[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
变体SKU编号。 - taxLines(
[[TaxLine!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/taxline))
连接到该订单项的TaxLine对象。 
| 参数 | 描述 | 
|---|---|
first() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) | 
将数组结果截断为此大小。 | 
- taxable(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
该变式是否应税。 - title(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
产品或变体的标题(此字段仅适用于自定义订单项)。 - totalDiscountSet(
[MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
此订单项的所有AppliedDiscounts的总和,以商店和演示货币表示。 - unfulfilledDiscountedTotalSet(
[MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
未实现单位的商店和展示货币的折现总值。 - unfulfilledOriginalTotalSet(
[MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
商店和演示货币中所有未实现单位的折扣前总价值。 - unfulfilledQuantity(
[Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
尚未完成的单位数。 - variant(
[ProductVariant](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/productvariant))
与此订单项关联的Variant对象。 - variantTitle(
[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
变体的名称。 - vendor(
[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
进行变体的供应商名称。 
派生关系
[Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)
在本页面
字段
- edges(
[[LineItemMutableEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/lineitemmutable))
边列表。 - pageInfo(
[PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo))
有助于分页的信息。 
一种自动生成的类型,在分页期间包含一个LineItemMutable和一个光标。
在本页面
字段
- cursor(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
用于分页的光标。 - node(
[LineItemMutable!](https://shopify.dev/docs/admin-api/graphql/reference/orders/lineitemmutable))
LineItemMutableEdge末尾的项目。 
返回LineItemMutableEdge的类型
[LineItemMutableConnection.edges](https://shopify.dev/docs/admin-api/graphql/reference/orders/lineitemmutable#edges-2021-01)
