Cancel subscription
Used to cancel a subscription.
Authorizations
Long-lived Admin API key issued from the Juo merchant portal. Pass as the X-Juo-Admin-Api-Key header.
Headers
Unique identifier of the tenant in the system (usually a store identifier)
Path Parameters
The subscription identifier
Body
Response
Default Response
Unique subscription identifier (UUID).
"550e8400-e29b-41d4-a716-446655440000"
subscription Unique serial number that increments sequentially with each new subscription within a store.
1"1042"
Subscription lifecycle status. active: billing runs on schedule; paused: billing suspended until resumed; canceled: permanently stopped (can be reactivated); failed: latest billing attempt failed; expired: reached configured end date; merged: consolidated into another subscription.
active, paused, canceled, failed, expired, merged "active"
Purchase date of the subscription.
Last update date of the subscription.
Cancellation date of the subscription.
The next billing date determines when the renewal process begins its billing phase. When billing succeeds, it creates one order—or multiple orders for prepaid subscriptions.
"2024-02-15T10:00:00.000Z"
The subscription's billing cycle count. Starts at 0 before the first billing completes, increments by 1 with each successful billing.
x >= 01
ISO 4217 currency code that applies to both item prices and delivery price.
3"USD"
How often and when the subscription is billed.
How often shipments are dispatched. Usually matches the billing policy.
Arbitrary key-value pairs attached to this subscription. In the Customer API, attributes whose key starts with _ are hidden and excluded.
Customer id when not expanded, or the full Customer object when the field name is included in the expand query parameter. Can be null.
1"7654321"
1CustomerPaymentMethod id when not expanded, or the full CustomerPaymentMethod object when the field name is included in the expand query parameter. Can be null.
The delivery price for the upcoming renewal.
x >= 0