Swell · JSON Structure

Swell Subscription Structure

Type: object Properties: 13
CommerceHeadless CommerceAPI-FirstB2CB2BSubscriptionsMarketplacesWholesaleStorefrontCheckoutPaymentsCartsOrdersCatalogInternationalization

Swell Subscription Structure is a JSON Structure definition published by Swell, describing 13 properties. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Properties

id account_id product_id plan_id status interval interval_count trial_days price recurring_total date_period_start date_period_end date_created

Meta-schema: https://json-structure.org/meta/extended/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/swell-io/main/json-structure/swell-subscription-structure.json",
  "title": "Swell Subscription",
  "type": "object",
  "properties": {
    "id": { "type": "string" },
    "account_id": { "type": "string" },
    "product_id": { "type": "string" },
    "plan_id": { "type": "string" },
    "status": { "type": "string" },
    "interval": { "type": "string" },
    "interval_count": { "type": "int32" },
    "trial_days": { "type": "int32" },
    "price": { "type": "decimal" },
    "recurring_total": { "type": "decimal" },
    "date_period_start": { "type": "string" },
    "date_period_end": { "type": "string" },
    "date_created": { "type": "string" }
  }
}