义务-Duty 对象

代表订单项的一项职责。

所需的访问

read_orders 访问范围。


在本页面


字段

  • countryCodeOfOrigin([CountryCode](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/countrycode)
    订单项原产国的ISO代码。
  • harmonizedSystemCode([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    订单项的统一系统代码。
  • 编号([ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
    全局唯一标识符。
  • 价格([MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag)
    订单项的关税价格。
  • taxLines([[TaxLine!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/taxline)
    与订单项职责相关的TaxLine对象。


返回职责的类型

  • [LineItem.duties](https://shopify.dev/docs/admin-api/graphql/reference/orders/lineitem#duties-2021-01)
  • [RefundDuty.originalDuty](https://shopify.dev/docs/admin-api/graphql/reference/orders/refundduty#originalduty-2021-01)


派生关系

  • [Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)