Get paginated past or upcoming orders report
Retrieves a paginated list of subscription billing attempts filtered by status (SUCCESS, FAILURE, QUEUED, SKIPPED) with optional contract filtering.
Full behavior, validation rules, and side effects
Key Features:
- Status Filtering: Filter by SUCCESS (past successful orders), FAILURE (failed billing attempts), QUEUED (upcoming scheduled orders), or SKIPPED (intentionally skipped orders)
- Contract Filtering: Optional filtering by specific subscription contract ID
- Pagination Support: Returns paginated results with page headers
- Order History: Access complete billing attempt history
Status Values:
SUCCESS: Completed successful billing attempts (past orders)FAILURE: Failed billing attempts that need attentionQUEUED: Upcoming scheduled billing attempts (future orders)SKIPPED: Manually or automatically skipped billing attempts
Use Cases:
- Generate customer order history reports
- Display upcoming scheduled deliveries
- Track failed billing attempts for recovery
- Export subscription order data for analysis
- Monitor skipped orders and cancellations
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
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
API Key (Deprecated - Use Header X-API-Key instead)
Filter by contract Id
Filter by status
Pagination parameters (page number and size)
Response
Billing attempts successfully retrieved
Shop domain identifier
"my-store.myshopify.com"
Unique identifier of the billing attempt record
12345
Shopify billing attempt ID
Current status of the billing attempt
SUCCESS, FAILURE, REQUESTING, PROGRESS, QUEUED, SKIPPED, SOCIAL_CONNECTION_NULL, CONTRACT_CANCELLED, CONTRACT_ENDED, CONTRACT_PAUSED, AUTO_CHARGE_DISABLED, SKIPPED_DUNNING_MGMT, SECURITY_CHALLENGE, SHOPIFY_EXCEPTION Scheduled billing date for this attempt
Associated subscription contract ID
67890
Number of billing retry attempts
1
Shopify order ID if billing was successful
Total order amount
29.99
Shopify order name/number
"#1001"
SENT, UNSENT, FAILED, EMAIL_SETTINGS_DISABLED, CUSTOMER_PAYMENT_EMPTY, CONTRACT_CANCELLED SENT, UNSENT, FAILED, EMAIL_SETTINGS_DISABLED, CUSTOMER_PAYMENT_EMPTY, CONTRACT_CANCELLED, STOP_FROM_CONTRACT, CONTRACT_PAUSED SUCCESS, FAILED, TO_BE_TRIED SENT, UNSENT, FAILED, SMS_SETTINGS_DISABLED, CUSTOMER_PAYMENT_EMPTY, CONTRACT_CANCELLED, PHONE_NUMBER_EMPTY SENT, UNSENT, FAILED, SMS_SETTINGS_DISABLED, CUSTOMER_PAYMENT_EMPTY, CONTRACT_CANCELLED, STOP_FROM_CONTRACT, CONTRACT_PAUSED, PHONE_NUMBER_EMPTY Order note or special instructions
SENT, UNSENT, FAILED, EMAIL_SETTINGS_DISABLED, CONTRACT_CANCELLED