Events

Subscription Paused

The subscription is paused and the date of processing is indicated on the actionable_date property. A null date indicates that the subscription is paused indefinitely.

Suggested source: website front-end

Properties

Name

Type

Description

Required

actionable_date

string

Next date when this subscription will be actionable (renewed, expired, etc.)

no

address

object

Shipping address for the subscription

no

brand

string

Brand associated with the subscription

no

currency

string

Currency code of the transaction (for example, "USD") Pattern: ^[A-Z]{3}$

no

email

string

Email address associated with the subscription

no

end_date

string

Subscription will stop auto-renewing after this date

no

interval_length

integer

Interval number at which the subscription renews

no

interval_units

string

Interval unit at which the subscription renews (for example, "month")

no

products

object[]

Products in the subscription

no

state

string

The state of the subscription (for example, "active")

no

subscription_id

string

ID of the subscription

no

Example

JSON


address object

Shipping address for the subscription

Properties

Name

Type

Description

Required

address1

string

Street address (line 1)



address2

string

Street address (line 2)



city

string

City



company

string

Company



country

string

Country



name

string

Name



phone

string

Phone number



state

string

State



zipcode

string

Zipcode



Example

JSON


products[] array

Products in the subscription

The product

Item Properties

Name

Type

Description

Required

affiliation

string

Product affiliation to designate a supplying company or brick and mortar store location (for example, "Google Store")

no

brand

string

Brand associated with the product

no

bundle

boolean

Product belongs to a bundle

no

category

string

Product category

no

coupon

string

Coupon code associated with a product (for example, "MAY_DEALS_3")

no

description

string

Short description of the product

no

image_url

string

Image URL of the product

no

name

string

Name of the product

no

option_values

string[]

Option values of the product variant

no

position

integer

Position in the product list (for example, 3)

no

price

number

Price ($) of the product

no

product_id

string

Database ID of the product

no

quantity

integer

Quantity of the product

no

sku

string

SKU of the product variant

no

slug

string

Slug of the product, often used in URLs (for example, "product-red")

no

url

string

URL of the product page

no

variant

string

Name of the product variant

no

line_item_id

string

Database ID of the line item

no

parts

object[]

If the product is an assortment, the assortment parts

no

Example

JSON


products[].option_values[] array

Option values of the product variant

Option value (for example, "red")

Item Type: stringExample

JSON


products[].parts[] array

If the product is an assortment, the assortment parts

Part

Item Properties

Name

Type

Description

Required

name

string

Assortment part name



options_text

string

Assortment part options text