货运专线-ShippingLine 对象

代表客户为订单选择的运送详细信息。


在本页面


字段

  • carrierIdentifier([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    对提供费率的运营商服务的引用。由第三方运营商服务计算费率时显示。
  • code([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    对运输方法的参考。
  • custom([Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
    装运线是否为自定义。
  • deliveryCategory([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    交付方式的一般分类。
  • DiscountAllocations([[DiscountAllocation!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountallocation))
    已分配给运输线的折扣。
  • discountedPriceSet([MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
    含折扣的税前运费。
  • id([ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
    全局唯一标识符。
  • originalPriceSet([MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
    不含任何折扣的税前运费。
  • phone([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    送货地址上的电话号码。
  • requiredFulfillmentService([FulfillmentService](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentservice))
    要求提供配送服务的送货方式。如果运输方式需要第三方履行服务进行处理,则显示。
  • shippingRateHandle([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    运费的唯一标识符。格式可以更改,恕不另行通知,并且不打算向用户显示。
  • source([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    返回运价的费率来源。
  • taxLines([[TaxLine!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/taxline))
    连接到该运输线的TaxLine对象。
  • title([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    返回货运行的标题。


返回ShippingLine的类型

  • [CalculatedDraftOrder.shippingLine](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddraftorder#shippingline-2021-01)
  • [DraftOrder.shippingLine](https://shopify.dev/docs/admin-api/graphql/reference/orders/draftorder#shippingline-2021-01)
  • [Order.shippingLine](https://shopify.dev/docs/admin-api/graphql/reference/orders/order#shippingline-2021-01)
  • [Order.shippingLines](https://shopify.dev/docs/admin-api/graphql/reference/orders/order#shippinglines-2021-01)


在本页面


字段

  • edges([[ShippingLineEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/shippingline))
    边列表。
  • pageInfo([PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo))
    有助于分页的信息。

一种自动生成的类型,在分页期间包含一个ShippingLine和一个光标。


在本页面


字段

  • cursor([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    用于分页的光标。
  • node([ShippingLine!](https://shopify.dev/docs/admin-api/graphql/reference/orders/shippingline))
    ShippingLineEdge末尾的项目。


返回ShippingLineEdge的类型

  • [ShippingLineConnection.edges](https://shopify.dev/docs/admin-api/graphql/reference/orders/shippingline#edges-2021-01)