subscription.status | Current status of the subscription (active, paused, canceled, expired, failed, merged) |
subscription.cycle_count | Number of completed billing cycles |
subscription.tags | Tags associated with the subscription |
subscription.item_count | Number of items in the subscription |
subscription.total_value | Total monetary value of the subscription |
subscription.age_days | Number of days since the subscription was created |
subscription.items | Line items in the subscription (array items include productId, variantId, tags) |
subscription.active_discounts | Active discounts on the subscription (array items include type: percentage / fixed / free_shipping, and value) |
subscription.payment_method | Type of payment method on the subscription: credit-card, paypal, shop-pay, sepa-direct-debit, blik, blik-recurring, mbway, bacs. blik-recurring is a BLIK method with an active recurring mandate |
subscription.last_renewal_failed | Whether the last renewal attempt failed |
subscription.last_renewal_fail_reason | Why the last renewal attempt failed: out-of-stock, missing-product, billing-attempt-failed, no-delivery-method, invalid-email-domain, draft-order-creation-failed, missing-delivery-price |
subscription.last_payment_error_code | Error code the payment provider returned for the last billing attempt: PAYMENT_METHOD_DECLINED, INSUFFICIENT_FUNDS, EXPIRED_PAYMENT_METHOD, CARD_NUMBER_INCORRECT, INVALID_PAYMENT_METHOD, PAYMENT_METHOD_NOT_FOUND, FRAUD_SUSPECTED, BUYER_CANCELED_PAYMENT_METHOD |