SubscriptionDiscount
Requires the or
scope.
Subscription draft discount types.
Anchor to Possible typesPossible types
- •OBJECT
Represents an applied code discount.
- id•ID!non-null
The unique ID.
- redeem
Code •String!non-null The redeem code of the discount that applies on the subscription.
- rejection
Reason •SubscriptionDiscount Rejection Reason The reason that the discount on the subscription draft is rejected.
- id•
- •OBJECT
Custom subscription discount.
- entitled
Lines •Subscriptionnon-nullDiscount Entitled Lines! Entitled line items used to apply the subscription discount on.
- id•ID!non-null
The unique ID.
- recurring
Cycle •Limit Int The maximum number of times the subscription discount will be applied on orders.
- rejection
Reason •SubscriptionDiscount Rejection Reason The reason that the discount on the subscription draft is rejected.
- target
Type •Discountnon-nullTarget Type! Type of line the discount applies on.
- title•String
The title associated with the subscription discount.
- type•Discountnon-null
Type! The type of the subscription discount.
- usage
Count •Int!non-null The number of times the discount was applied.
- value•Subscriptionnon-null
Discount Value! The value of the subscription discount.
- entitled
Anchor to Fields with this unionFields with this union
- •OBJECT
Discount that created the allocation.
- •CONNECTION
A list of nodes that are contained in SubscriptionDiscountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.
- •OBJECT
The item at the end of SubscriptionDiscountEdge.
- •CONNECTION
The list of subscription discounts which will be associated with the subscription contract.
- •CONNECTION
The list of subscription discounts to be added to the subscription contract.
- •CONNECTION
The list of subscription discounts to be removed from the subscription contract.
- •CONNECTION
The list of subscription discounts to be updated on the subscription contract.