You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`amount`|`number`| Yes | - | The amount to charge |
47
48
|`currencyCode`|`string`| Yes | - | The currency to charge, currently only `"USD"` is accepted |
48
-
|`interval`|`BillingInterval`| Yes | - |`BillingInterval` value |
49
-
|`trialDays`|`number`| No | - | Give merchants this many days before charging. _Not available for `OneTime` plans_|
50
-
|`replacementBehavior`|`BillingReplacementBehavior`| No | - |`BillingReplacementBehavior` value, see [the reference](https://shopify.dev/api/admin-graphql/2022-07/mutations/appSubscriptionCreate) for more information. _Not available for `OneTime` plans_|
|`amount`|`number`| Yes | - | The amount to charge |
55
+
|`currencyCode`|`string`| Yes | - | The currency to charge, currently only `"USD"` is accepted |
56
+
|`interval`|`EVERY_30_DAYS`, `ANNUAL`| Yes | - |`BillingInterval.Every30Days`, `BillingInterval.Annual` value |
57
+
|`trialDays`|`number`| No | - | Give merchants this many days before charging |
58
+
|`replacementBehavior`|`BillingReplacementBehavior`| No | - |`BillingReplacementBehavior` value, see [the reference](https://shopify.dev/api/admin-graphql/2022-07/mutations/appSubscriptionCreate) for more information. |
59
+
60
+
### Usage Billing Plans
61
+
62
+
| Parameter | Type | Required? | Default Value | Notes |
|`usageTerms`|`string`| Yes | - | These terms stipulate the pricing model for the charges that an app creates. |
68
+
`trialDays` | `number` | No | - | Give merchants this many days before charging |
69
+
|`replacementBehavior`|`BillingReplacementBehavior`| No | - |`BillingReplacementBehavior` value, see [the reference](https://shopify.dev/api/admin-graphql/2022-07/mutations/appSubscriptionCreate) for more information. |
0 commit comments