Calculates the refund amount that would be issued if a specific subscription order fulfillment were refunded. This provides a preview without actually processing the refund.
What it calculates:
Use Cases:
Important Notes:
Authentication: Customer must be logged in and own the subscription
curl --request GET \
--url https://www.myshop.com/apps/subscriptions/cp/api/subscription-billing-attempts/refund-preview/{id}{
"orderAmount": 45.99,
"processingFees": 1.5,
"restockingFee": 0,
"refundAmount": 44.49,
"currency": "USD"
}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.
curl --request GET \
--url https://www.myshop.com/apps/subscriptions/cp/api/subscription-billing-attempts/refund-preview/{id}{
"orderAmount": 45.99,
"processingFees": 1.5,
"restockingFee": 0,
"refundAmount": 44.49,
"currency": "USD"
}