subscription Billing Cycle Charge
Requires access scope. Also: The user must have manage_orders_information permission.
Creates a new subscription billing attempt for a specified billing cycle. This is the alternative mutation for subscriptionBillingAttemptCreate. For more information, refer to Create a subscription contract.
Arguments
- Anchor to billingCycleSelectorbilling•Subscription
Cycle Selector Billing Cycle Selector!required Select the specific billing cycle to be billed. If the selected billing cycle's billingAttemptExpectedDate is in the past, the originTime of the billing attempt will be set to this date. However, if the billingAttemptExpectedDate is in the future, the originTime will be the current time.
- Anchor to inventoryPolicyinventory•Subscription
Policy Billing Attempt Inventory PolicyDefault:PRODUCT_VARIANT_INVENTORY_POLICY The behaviour to use when updating inventory.
- Anchor to subscriptionContractIdsubscription•ID!required
Contract Id The ID of the subscription contract.
Anchor to SubscriptionBillingCycleChargePayload returnsSubscription Billing Cycle Charge Payload returns
- Anchor to subscriptionBillingAttemptsubscription•Subscription
Billing Attempt Billing Attempt The subscription billing attempt.
- Anchor to userErrorsuser•[Billing
Errors Attempt User Error!]!non-null The list of errors that occurred from executing the mutation.