create_subscription_contract_atomic
Create a Shopify subscription contract atomically with customer, line items, billing, and delivery schedules in a single operation.
Instructions
Create a complete subscription contract in a single operation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lineItems | Yes | Line items for the subscription | |
| customerId | Yes | Customer ID to associate with the subscription | |
| currencyCode | Yes | Currency code (e.g., 'USD') | |
| deliveryPrice | No | Delivery price | |
| billingInterval | Yes | Billing interval | |
| nextBillingDate | Yes | Next billing date (ISO 8601 format) | |
| deliveryInterval | Yes | Delivery interval | |
| billingIntervalCount | Yes | Number of intervals between billings | |
| deliveryIntervalCount | Yes | Number of intervals between deliveries |