Add one-time product to upcoming order
Adds a one-time product (one-off) to a specific upcoming billing attempt for a membership contract. The product will be included only in the specified order and will not become part of the recurring subscription.
Full behavior, validation rules, and side effects
Key Features:
- One-Time Addition: Product added to single order only
- Billing Cycle Targeting: Specify exact order to add item to
- No Subscription Impact: Doesn’t change recurring items
- Instant Upsell: Add products between regular billing cycles
- Customer Flexibility: Allow members to add extras to next order
- Activity Logging: Tracks who added the item (merchant vs API)
Required Parameters:
- Contract ID: Target subscription contract
- Billing Attempt ID: Specific upcoming order to add item to
- Variant ID: Shopify product variant to add
- Variant Handle: Product handle for identification
How It Works:
- Validates contract exists and belongs to shop
- Checks if contract is not frozen (minimum cycles)
- Verifies billing attempt is upcoming (not already processed)
- Adds variant to the specified billing attempt
- Returns updated list of all one-offs for the contract
- Logs activity for audit trail
Use Cases:
- Customer wants to add a bonus product to next delivery
- Merchant offers limited-time add-on to existing members
- Trial/sample products added to specific orders
- Holiday specials or seasonal items
- Promotional gifts or rewards
- One-time upsells in customer portal
Business Rules:
- Item added only to specified billing attempt
- Cannot add to past or completed orders
- Contract must not be frozen/minimum cycle locked
- Duplicate items increment quantity
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
Documentation Index
Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Query Parameters
API Key (Deprecated - Use Header X-API-Key instead)
Subscription contract ID
Billing attempt ID to add the item to
Product variant ID to add
Product handle for identification
Response
One-off product successfully added, returns updated list of all one-offs
Shop domain identifier
"my-store.myshopify.com"
Unique identifier of the one-off item
789
Associated billing attempt ID
Associated subscription contract ID
Shopify product variant ID of the one-off item
Product variant handle for the one-off item