List subscriptions
Changed onReturns a list of contact subscriptions for the current account
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Query parameters
Filter by subscription status
Comma-separated relations to expand: contact, order, discount, price_variant
Only this contact's (con_...) subscriptions. An unknown contact is a 404.
Cursor for pagination — the ID of the last item in the previous page
Unix seconds, exact match
Unix seconds or an ISO 8601 time, exact match
Only return objects created in this window. Pass a Unix timestamp in seconds for an exact match, or bound it with created[gt], created[gte], created[lt] and created[lte], which combine: created[gte]=1735689600&created[lt]=1738368000 is January 2025. ISO 8601 times work too (created[gte]=2025-01-01T00:00:00Z), so a created_at from a response can be passed back as is, and an ISO 8601 date (created[gte]=2025-01-01) is that whole UTC day. Timestamps are in seconds: a value in milliseconds is rejected with 400 parameter_invalid.
Items per page
Response
List of subscriptions
Changes
- warning
added the new
expiredenum value to thedata/items/discount/oneOf[#/components/schemas/Discount]/statusresponse property for the response status - info
added the optional property
data/items/price_variantto the response with the status - info
added the required property
data/items/order/oneOf[#/components/schemas/Order]/line_items/items/price_variant/oneOf[#/components/schemas/PriceVariant]/cross_sellsto the response with the status
3 more changes in this revision
- warning