Membership Contracts
Remove discount from subscription
Removes a discount from a subscription contract. This endpoint allows you to remove previously applied discounts, restoring the subscription to full price.
Full behavior, validation rules, and side effects
Discount Removal Process:
- Identify Discount: Uses discount ID to locate specific discount on contract
- Remove From Contract: Removes discount allocation from subscription
- Recalculate Pricing: Updates subscription pricing to remove discount
- Activity Logging: Records discount removal event
- Immediate Effect: Changes apply to next billing cycle
Key Features:
- Selective Removal: Remove specific discounts by ID
- Price Restoration: Returns subscription to original or remaining discount pricing
- Multiple Discount Support: Works with subscriptions having multiple discounts
- Activity Tracking: Logs removal for audit trail
Finding Discount ID:
- Retrieve subscription contract details to see applied discounts
- Each discount has a unique Shopify GraphQL ID
- Format:
gid://shopify/SubscriptionManualDiscount/[ID]
Use Cases:
- End limited-time promotional discounts
- Remove expired retention offers
- Customer service discount adjustments
- Clean up incorrectly applied discounts
- Remove trial period pricing
- End referral program bonuses
Returns: Updated subscription contract object with discount removed
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
PUT
Remove discount from subscription
Documentation Index
Fetch the complete documentation index at: https://developers.appstle.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Query Parameters
Subscription contract ID to remove discount from
API Key (Deprecated - Use Header X-API-Key instead)
Shopify discount ID to remove (GraphQL ID format)
Response
Discount successfully removed from subscription
Available options:
ACTIVE, PAUSED, CANCELLED, EXPIRED, FAILED, $UNKNOWN Available options:
SUCCEEDED, FAILED, $UNKNOWN