Synchronizes customer subscription information from Shopify to the Appstle subscription system. This endpoint fetches the latest customer data from Shopify and updates the local database to ensure data consistency across platforms.
What Does This Endpoint Do? This endpoint triggers a synchronization process that pulls customer subscription data from Shopify’s GraphQL API and updates the Appstle subscription database with the latest information. It ensures that customer details, subscription statuses, and associated metadata are current and accurate.
Sync Process:
What Gets Synchronized:
Customer Information:
Subscription Details:
Payment Information:
Delivery Information:
Use Cases:
1. Data Consistency:
2. Troubleshooting:
3. Migration & Integration:
4. Customer Support:
When to Use This Endpoint:
Recommended Scenarios:
Avoid Using For:
Sync Behavior:
Synchronous Operation:
Data Precedence:
Error Handling:
Important Considerations:
Performance:
Rate Limiting:
Data Integrity:
Best Practices:
Security Notes:
Response:
Alternative Approaches:
If you need to:
Integration Workflow Example:
1. Customer contacts support about incorrect billing date
2. Support agent checks subscription in Appstle admin
3. Agent makes correction in Shopify admin
4. Agent calls sync endpoint for this customer
5. Sync retrieves latest data from Shopify
6. Appstle database is updated with corrected billing date
7. Customer portal now shows correct date
8. Support ticket resolved
Authentication: Requires valid X-API-Key header or api_key parameter (deprecated)
curl --request GET \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-customers/sync-info/{customerId}{
"type": "https://example.com/errors/bad-request",
"title": "Invalid request",
"status": 400,
"detail": "Customer ID must be a valid positive integer"
}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.
Customer Id
API Key (Deprecated - Use Header X-API-Key instead)
Customer subscription data successfully synchronized from Shopify. No response body returned. Check activity logs to verify sync completion and review changes made.
curl --request GET \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-customers/sync-info/{customerId}{
"type": "https://example.com/errors/bad-request",
"title": "Invalid request",
"status": 400,
"detail": "Customer ID must be a valid positive integer"
}