Skip to main content
GET
Get past orders report with detailed filtering

Headers

X-API-Key
string

Query Parameters

api_key
string

API Key (Deprecated - Use Header X-API-Key instead)

contractId
integer<int64>

Filter by subscription contract ID. Omit to get the report for all contracts in the shop

status
enum<string>
required

Filter by billing attempt status, e.g. SUCCESS, FAILURE, SKIPPED

Available options:
SUCCESS,
FAILURE,
REQUESTING,
PROGRESS,
QUEUED,
SKIPPED,
SOCIAL_CONNECTION_NULL,
CONTRACT_CANCELLED,
CONTRACT_ENDED,
CONTRACT_PAUSED,
AUTO_CHARGE_DISABLED,
SHOPIFY_EXCEPTION,
SKIPPED_DUNNING_MGMT,
SKIPPED_INVENTORY_MGMT,
IMMEDIATE_TRIGGERED,
SECURITY_CHALLENGE,
CONTRACT_PAUSED_MAX_CYCLES,
REFUNDED,
SKIPPED_DEMO_SHOP,
SKIPPED_SHOP_INFO_NOT_FOUND,
SKIPPED_BILLING_DATE_STALE,
SKIPPED_DUNNING_NOT_CONFIGURED,
PENDING_CONSOLIDATION
includeShopifyException
boolean
default:false

Include Shopify Exception in case of Failure

fromDay
string<date-time>

Filter date range from (ISO-8601, e.g. 2026-01-01T00:00:00Z)

toDay
string<date-time>

Filter date range to (ISO-8601, e.g. 2026-02-01T00:00:00Z)

attemptCount
integer<int32>

Filter by retry attempts

contractStatus
string

Filter by Contract Status

page
integer
default:0

Zero-based page index (0..N)

Required range: x >= 0
size
integer
default:20

The size of the page to be returned

Required range: x >= 1
sort
string[]

Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Response

Successfully retrieved report

subscriptionBillingAttempt
object
subscriptionContractDetails
object