Skip to main content
Anchor to SubscriptionAppliedCodeDiscount

SubscriptionAppliedCodeDiscount

object

Requires the read_own_subscription_contracts or write_own_subscription_contracts scope.

Represents an applied code discount.

ID!
non-null

The unique ID.

String!
non-null

The redeem code of the discount that applies on the subscription.

SubscriptionDiscountRejectionReason

The reason that the discount on the subscription draft is rejected.


Was this section helpful?

mutation

Applies a code discount on the subscription draft.

Arguments

ID!
required

The gid of the subscription contract draft to apply a subscription code discount on.

String!
required

Code discount redeem code.


Fields

SubscriptionAppliedCodeDiscount

The added subscription discount.

SubscriptionDraft

The subscription contract draft object.

[SubscriptionDraftUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?
OSZAR »