CreateSalesSubscriptionDiscountLineItemCommandRequestInput
Adds a line item for a discount such as a coupon to a subscription. It has no schedule and is part of every follow-up sales order. - Request
CreateSalesSubscriptionDiscountLineItemCommandRequestInputFields
The ID of the subscription.
A temporary identifier chosen by the client, for example to match the answer to an optimistic update. It is not stored and is returned unchanged.
The type of the discount. Known values: COUPON, NEW_CUSTOMER_COUPON, LEGACY_VOUCHER. The type of a discount line item.
The name printed on the sales order; not empty.
The net amount by which each follow-up sales order is reduced; greater than 0.
A note on the line item.
The position of the line item. Defaults to the end.
Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.
Was this page helpful?