Skip to main content
subscription.activated
Updated over 3 months ago

This event will be triggered when a subscription is activated from a paused or cancelled state.

Sample Message Content

{2 items
"data":{16 items
"__typename":string"SubscriptionContract"
"billingPolicy":{6 items
"__typename":string"SubscriptionBillingPolicy"
"anchors":[]0 items
"interval":string"WEEK"
"intervalCount":int11
"maxCycles":int999999
"minCycles":int1
}
"createdAt":string"2024-04-09T19:11:57Z"
"customAttributes":[]0 items
"customer":{6 items
"__typename":string"Customer"
"displayName":string"M Awais"
"email":string"awais@appstle.com"
"firstName":string"M"
"id":string"gid://shopify/Customer/6843646640429"
"lastName":string"Awais"
}
"customerPaymentMethod":{3 items
"__typename":string"CustomerPaymentMethod"
"id":string"gid://shopify/CustomerPaymentMethod/ed5f77f5b2635c9e49bce21870d4edf4"
"instrument":{11 items
"__typename":string"CustomerCreditCard"
"billingAddress":{8 items
"__typename":string"CustomerCreditCardBillingAddress"
"address1":string"sunnyvale"
"city":string"Sunnyvale"
"country":string"United States"
"countryCode":string"US"
"province":string"California"
"provinceCode":string"CA"
"zip":string"94087"
}
"brand":string"visa"
"expiresSoon":boolfalse
"expiryMonth":int5
"expiryYear":int2027
"firstDigits":string"424242"
"lastDigits":string"4242"
"maskedNumber":string"•••• •••• •••• 4242"
"name":string"Muhammad Hussain Qureshi"
"revocable":boolfalse
}
}
"deliveryMethod":{3 items
"__typename":string"SubscriptionDeliveryMethodShipping"
"address":{10 items
"__typename":string"SubscriptionMailingAddress"
"address1":string"sunnyvale"
"city":string"Sunnyvale"
"country":string"United States"
"countryCode":string"US"
"lastName":string"Awais"
"name":string"Awais"
"province":string"California"
"provinceCode":string"CA"
"zip":string"94087"
}
"shippingOption":{4 items
"__typename":string"SubscriptionDeliveryMethodShippingOption"
"code":string"Economy"
"presentmentTitle":string"Economy"
"title":string"Economy"
}
}
"deliveryPolicy":{4 items
"__typename":string"SubscriptionDeliveryPolicy"
"anchors":[]0 items
"interval":string"WEEK"
"intervalCount":int11
}
"deliveryPrice":{3 items
"__typename":string"MoneyV2"
"amount":string"4.9"
"currencyCode":string"USD"
}
"discounts":{2 items
"__typename":string"SubscriptionManualDiscountConnection"
"edges":[]0 items
}
"id":string"gid://shopify/SubscriptionContract/12981961005"
"lines":{2 items
"__typename":string"SubscriptionLineConnection"
"edges":[1 item
0:{2 items
"__typename":string"SubscriptionLineEdge"
"node":{14 items
"__typename":string"SubscriptionLine"
"currentPrice":{3 items
"__typename":string"MoneyV2"
"amount":string"20.0"
"currencyCode":string"USD"
}
"customAttributes":[1 item
0:{3 items
"__typename":string"Attribute"
"key":string"__appstle-selected-selling-plan"
"value":string"687260762413"
}
]
"discountAllocations":[]0 items
"id":string"gid://shopify/SubscriptionLine/613eabf8-a467-4e81-9a05-499103091b31"
"lineDiscountedPrice":{3 items
"__typename":string"MoneyV2"
"amount":string"20.0"
"currencyCode":string"USD"
}
"productId":string"gid://shopify/Product/9245052731693"
"quantity":int1
"sellingPlanId":string"gid://shopify/SellingPlan/687260762413"
"sellingPlanName":string"Weekly test "
"sku":string""
"taxable":booltrue
"title":string"Blade"
"variantId":string"gid://shopify/ProductVariant/48431775318317"
}
}
]
}
"nextBillingDate":string"2024-06-26T15:00:00Z"
"originOrder":{4 items
"__typename":string"Order"
"fulfillmentOrders":{2 items
"__typename":string"FulfillmentOrderConnection"
"edges":[1 item
0:{2 items
"__typename":string"FulfillmentOrderEdge"
"node":{4 items
"__typename":string"FulfillmentOrder"
"fulfillAt":string"2024-04-10T19:00:00Z"
"id":string"gid://shopify/FulfillmentOrder/6711842996525"
"status":string"SCHEDULED"
}
}
]
}
"id":string"gid://shopify/Order/5768339980589"
"name":string"#1219"
}
"status":string"ACTIVE"
"updatedAt":string"2024-04-09T21:43:56Z"
}
"type":string"subscription.activated"
}
Did this answer your question?