APIs for managing Shopify delivery profiles, shipping rates, zones, and free shipping configuration for subscription memberships
Customer Discount History
API Reference
Shipping & Delivery Profiles
Cancellation Flow Configuration
Billing & Orders
One-Time Add-Ons
Membership Plans
Product Bundles
Custom CSS Styling
Customer Portal Configuration
Membership Contracts
Bundle Settings
Customer Payment Methods
Product Swap Rules
Subscription Contract Management
Subscription Billing
Billing Attempts
External (0.0.1)
Download OpenAPI description
Languages
Servers
https://membership-admin.appstle.com
Request
Retrieves historical discount codes that have been applied to or are associated with a specific membership contract. Returns discount details including code, value, usage limits, and expiration dates from Shopify.
Use Cases:
- Display discount history in customer portal
- Show applied promotional codes
- Track discount redemption for analytics
- Verify discount eligibility
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
- https://membership-admin.appstle.com/api/external/v2/customer-discount-code-infos/get-past-discounts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://membership-admin.appstle.com/api/external/v2/customer-discount-code-infos/get-past-discounts?contractId=123456&api_key=string' \
-H 'X-API-Key: string'Response
application/json
[ { "get__typename": "string" } ]