Trials
411486491630370816Filters trials by the customer identifier.
411486491630370816Filters trials by the associated subscription identifier.
411486491630370816Filters trials by the checkout session identifier that initiated them.
411486491630370816Filters to a specific trial by its identifier.
411486491630370816The maximum number of items to return in a single request.
Returns items after the specified ID. Used for forward pagination through results.
411486491630370816Returns items before the specified ID. Used for backward pagination through results.
411486491630370816Determines the sort order of returned items. When true, items are returned in ascending order. When false, items are returned in descending order.
OK
Error response
GET /v1/stores/{storeId}/trials HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "411486491630370816",
"pretty_id": "text",
"store_id": "411486491630370816",
"checkout_id": "411486491630370816",
"checkout_line_id": "411486491630370816",
"customer_id": "411486491630370816",
"customer": {
"id": "411486491630370816",
"store_id": "411486491630370816",
"profile": {
"id": "text",
"platform": "steam",
"name": "text",
"avatar_url": "text"
},
"steam_id": "76561197960287930",
"steam": {
"id": "76561197960287930",
"name": "text",
"avatar_url": "text"
},
"minecraft_uuid": "f84c6a79-0a4e-45e0-879b-cd49ebd4c4e2",
"minecraft": {
"id": "f84c6a79-0a4e-45e0-879b-cd49ebd4c4e2",
"name": "notch",
"avatar_url": "text"
},
"xbox_xuid": "text",
"minecraft_platform": "unknown",
"name": "m0uka",
"created_at": "2025-10-29T23:49:25.011Z",
"updated_at": "2025-10-29T23:49:25.011Z",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"product_id": "411486491630370816",
"product_version_id": "411486491630370816",
"product_name": "text",
"product_image_url": "text",
"period_value": 1,
"period_scale": "text",
"starts_at": "2025-10-29T23:49:25.011Z",
"ends_at": "2025-10-29T23:49:25.011Z",
"status": "created",
"created_at": "2025-10-29T23:49:25.011Z",
"canceled_at": "2025-10-29T23:49:25.011Z",
"canceled_by": {
"type": "anonymous",
"id": "411486491630370816"
}
}
]411486491630370816411486491630370816OK
Error response
GET /v1/stores/{storeId}/trials/{trialId} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "411486491630370816",
"pretty_id": "text",
"store_id": "411486491630370816",
"checkout_id": "411486491630370816",
"checkout_line_id": "411486491630370816",
"customer_id": "411486491630370816",
"customer": {
"id": "411486491630370816",
"store_id": "411486491630370816",
"profile": {
"id": "text",
"platform": "steam",
"name": "text",
"avatar_url": "text"
},
"steam_id": "76561197960287930",
"steam": {
"id": "76561197960287930",
"name": "text",
"avatar_url": "text"
},
"minecraft_uuid": "f84c6a79-0a4e-45e0-879b-cd49ebd4c4e2",
"minecraft": {
"id": "f84c6a79-0a4e-45e0-879b-cd49ebd4c4e2",
"name": "notch",
"avatar_url": "text"
},
"xbox_xuid": "text",
"minecraft_platform": "unknown",
"name": "m0uka",
"created_at": "2025-10-29T23:49:25.011Z",
"updated_at": "2025-10-29T23:49:25.011Z",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"product_id": "411486491630370816",
"product_version_id": "411486491630370816",
"product_name": "text",
"product_image_url": "text",
"period_value": 1,
"period_scale": "text",
"starts_at": "2025-10-29T23:49:25.011Z",
"ends_at": "2025-10-29T23:49:25.011Z",
"status": "created",
"created_at": "2025-10-29T23:49:25.011Z",
"canceled_at": "2025-10-29T23:49:25.011Z",
"canceled_by": {
"type": "anonymous",
"id": "411486491630370816"
}
}Retrieves all trial eligibility overrides for the specified customer.
The ID of the store to retrieve trial eligibility overrides for.
411486491630370816The ID of the customer to retrieve trial eligibility overrides for.
411486491630370816The maximum number of items to return in a single request.
Returns items after the specified ID. Used for forward pagination through results.
411486491630370816Returns items before the specified ID. Used for backward pagination through results.
411486491630370816Determines the sort order of returned items. When true, items are returned in ascending order. When false, items are returned in descending order.
OK
Error response
GET /v1/stores/{storeId}/customers/{customerId}/trials/eligibility/overrides HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "411486491630370816",
"pretty_id": "text",
"store_id": "411486491630370816",
"customer_id": "411486491630370816",
"product_id": "411486491630370816",
"product_name": "text",
"product_image_url": "text",
"created_at": "2025-10-29T23:49:25.011Z",
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"expires_at": "2025-10-29T23:49:25.011Z",
"used_at": "2025-10-29T23:49:25.011Z",
"used_on_trial_id": "411486491630370816",
"note": "text",
"deleted_at": "2025-10-29T23:49:25.011Z",
"deleted_by": {
"type": "anonymous",
"id": "411486491630370816"
}
}
]Creates a new trial eligibility override for the specified customer.
The ID of the store to create the trial eligibility override for.
411486491630370816The ID of the customer to create the trial eligibility override for.
411486491630370816411486491630370816OK
Error response
POST /v1/stores/{storeId}/customers/{customerId}/trials/eligibility/overrides HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 89
{
"product_id": "411486491630370816",
"expires_at": "2025-10-29T23:49:25.011Z",
"note": "text"
}{
"id": "411486491630370816",
"pretty_id": "text",
"store_id": "411486491630370816",
"customer_id": "411486491630370816",
"product_id": "411486491630370816",
"product_name": "text",
"product_image_url": "text",
"created_at": "2025-10-29T23:49:25.011Z",
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"expires_at": "2025-10-29T23:49:25.011Z",
"used_at": "2025-10-29T23:49:25.011Z",
"used_on_trial_id": "411486491630370816",
"note": "text",
"deleted_at": "2025-10-29T23:49:25.011Z",
"deleted_by": {
"type": "anonymous",
"id": "411486491630370816"
}
}Deletes an existing trial eligibility override.
The ID of the store to delete the trial eligibility override for.
411486491630370816The ID of the trial eligibility override to delete.
411486491630370816No Content
No content
Error response
DELETE /v1/stores/{storeId}/customers/{customerId}/trials/eligibility/overrides/{trialEligibilityOverrideId} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
No content
Was this helpful?
