APIs for managing Shopify delivery profiles, shipping rates, zones, and free shipping configuration for subscription memberships
- Get subscription order fulfillment details
External (0.0.1)
Request
Cancels a scheduled/pending downgrade for a specific subscription contract. This endpoint removes the pending downgrade so that the subscription will continue with its current plan.
Important Notes:
- The downgrade must be pending (not yet executed) to be cancelled
- Once cancelled, the subscription will remain on its current plan
- An activity log entry is created when a downgrade is cancelled
Use Cases:
- Allow customers to change their mind about a scheduled downgrade
- Cancel downgrades when customers upgrade or renew
- Administrative cancellation of pending plan changes
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
- https://membership-admin.appstle.com/api/external/v2/subscription-contract-details/{contractId}/pending-downgrade
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://membership-admin.appstle.com/api/external/v2/subscription-contract-details/12345/pending-downgrade?api_key=string' \
-H 'X-API-Key: string'Request
Retrieves fulfillment information for the most recent order generated by a subscription contract. Shows shipping status, tracking numbers, and delivery progress.
Key Features:
- Latest Order: Returns fulfillment data for the most recent subscription order
- Tracking Info: Includes tracking numbers, URLs, and shipping carriers
- Fulfillment Status: Shows whether items are unfulfilled, fulfilled, or partially fulfilled
- Multi-Fulfillment: Handles orders split across multiple shipments
Returned Fulfillment Data:
- Order Info: Order name/number, creation date, financial status
- Fulfillment Status: FULFILLED, PARTIAL, UNFULFILLED, etc.
- Fulfillments List: Array of all fulfillments for the order
- Tracking Numbers: Tracking codes for each fulfillment
- Tracking URLs: Direct links to carrier tracking pages
- Shipping Carrier: Carrier name (USPS, FedEx, UPS, etc.)
- Fulfillment Date: When each shipment was fulfilled
- Line Items: Which products/variants are in each shipment
- Delivery Address: Where the order is being shipped
Common Use Cases:
- Order Tracking: Show customers where their subscription delivery is
- Customer Portal: Display "Track Your Order" links
- Shipping Updates: Check fulfillment status for recent orders
- Support: Help customers track delayed or missing shipments
- Notifications: Trigger custom shipping notifications
- Analytics: Track fulfillment performance metrics
Response Structure: Returns an Order object containing:
- Basic order information
- Array of fulfillments with tracking details
- Line items per fulfillment
- Shipping and delivery information
Note: This returns data for the MOST RECENT order only. For historical fulfillment data, use order history endpoints.
Parameters:
- contractId (required, path): The subscription contract ID
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
- https://membership-admin.appstle.com/api/external/v2/subscription-contract-details/subscription-fulfillments/{contractId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://membership-admin.appstle.com/api/external/v2/subscription-contract-details/subscription-fulfillments/12345?api_key=string' \
-H 'X-API-Key: string'{ "get__typename": "string", "id": "string", "fulfillmentOrders": { "get__typename": "string", "nodes": [ … ], "pageInfo": { … } } }
Request
Retrieves available billing frequency/interval options for specified Shopify selling plans (subscription plans). This endpoint returns all configured billing frequencies that customers can choose from for their subscriptions.
Key Information Returned:
- Frequency Options: List of available billing intervals (e.g., weekly, monthly, quarterly)
- Interval Units: Time unit for each option (DAYS, WEEKS, MONTHS, YEARS)
- Interval Count: Number of units between billings (e.g., 2 = every 2 weeks)
- Display Names: Customer-friendly names for each frequency option
- Plan IDs: Associated selling plan IDs for each frequency
Billing Frequency Structure: Each FrequencyInfoDTO contains:
- id: Selling plan ID (Shopify subscription plan identifier)
- name: Display name (e.g., "Deliver every 2 weeks", "Monthly subscription")
- intervalUnit: Time unit (DAY, WEEK, MONTH, YEAR)
- intervalCount: Number of units between deliveries
- billingPolicy: How billing is configured (EXACT_DAY, ANNIVERSARY)
- deliveryPolicy: How delivery is scheduled
Common Billing Intervals:
- Weekly: intervalUnit=WEEK, intervalCount=1
- Bi-Weekly: intervalUnit=WEEK, intervalCount=2
- Monthly: intervalUnit=MONTH, intervalCount=1
- Every 2 Months: intervalUnit=MONTH, intervalCount=2
- Quarterly: intervalUnit=MONTH, intervalCount=3
- Semi-Annual: intervalUnit=MONTH, intervalCount=6
- Annual: intervalUnit=YEAR, intervalCount=1
Request Parameters:
- sellingPlanIds: Comma-separated list of Shopify selling plan IDs (required)
- Example: "123456,123457,123458"
- Returns frequency options for all specified plans
Common Use Cases:
- Display available billing frequencies in customer portal
- Allow customers to change subscription delivery frequency
- Build frequency selector UI components
- Validate frequency options before updating subscription
- Sync available billing options with external systems
- Show frequency options during subscription checkout
Integration Example:
- Get customer's current subscription selling plan ID
- Call this endpoint with that selling plan ID
- Display returned frequency options to customer
- Customer selects new frequency
- Update subscription with selected frequency
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
- https://membership-admin.appstle.com/api/external/v2/subscription-contract-details/billing-interval
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://membership-admin.appstle.com/api/external/v2/subscription-contract-details/billing-interval?api_key=string&sellingPlanIds=123456%2C123457%2C123458' \
-H 'X-API-Key: string'{ "frequencyCount": 0, "frequencyInterval": "DAY", "billingFrequencyCount": 0, "billingFrequencyInterval": "DAY", "frequencyName": "string", "discountOffer": 0.1, "discountOffer2": 0.1, "afterCycle1": 0, "afterCycle2": 0, "discountType": "PERCENTAGE", "discountType2": "PERCENTAGE", "discountEnabled": true, "discountEnabled2": true, "discountEnabledMasked": true, "discountEnabled2Masked": true, "id": "string", "frequencyType": "ON_PURCHASE_DAY", "specificDayValue": 0, "specificMonthValue": 0, "specificDayEnabled": true, "maxCycles": 0, "minCycles": 0, "cutOff": 0, "prepaidFlag": "string", "idNew": "string", "planType": "PAY_AS_YOU_GO", "deliveryPolicyPreAnchorBehavior": "ASAP", "freeTrialEnabled": true, "freeTrialCount": 0, "freeTrialInterval": "DAY", "frequencyDescription": "string", "keepOriginalNextBillingDateAfterTrial": true, "planSequence": 0, "groupName": "string", "groupId": 0, "memberOnly": true, "nonMemberOnly": true, "memberInclusiveTags": "string", "memberExclusiveTags": "string", "lifeTimeMembership": true, "rulesJson": "string" }