折扣适用的订阅行-SubscriptionDiscountEntitledLines 对象

表示折扣适用的订阅行。

所需的访问

read_own_subscription_contracts 访问范围。


在本页面


Connections

  • lines([SubscriptionLineConnection!](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptionline)
    与订阅折扣关联的订阅行列表。
争论 描述
after
() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
返回指定游标之后的元素。
before
() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
返回指定游标之前的元素。
first
() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)
返回n列表中的第一个元素。
last
() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)
返回n列表中的最后一个元素。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false


字段

  • all([Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
    指定订阅折扣是否将应用于所有订阅行。


返回SubscriptionDiscountEntitledLines的类型

  • [SubscriptionManualDiscount.entitledLines](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptionmanualdiscount#entitledlines-2021-01)