Skip to main content
membership.activated
Updated over 2 months ago

This event will be triggered when a membership is activated from a paused or cancelled status.

Sample Message Content

{2 items
"data":{16 items
"__typename":string"SubscriptionContract"
"billingPolicy":{5 items
"__typename":string"SubscriptionBillingPolicy"
"anchors":[]0 items
"interval":string"DAY"
"intervalCount":int1
"maxCycles":int1
}
"createdAt":string"2024-01-23T16:20:12Z"
"customAttributes":[]0 items
"customer":{6 items
"__typename":string"Customer"
"displayName":string"Jaydeep Virani"
"email":string"jaydeep@appstle.com"
"firstName":string"Jaydeep"
"id":string"gid://shopify/Customer/5580204343339"
"lastName":string"Virani"
}
"customerPaymentMethod":{3 items
"__typename":string"CustomerPaymentMethod"
"id":string"gid://shopify/CustomerPaymentMethod/64cfbbdb189a7e122333cc2de8492a85"
"instrument":{11 items
"__typename":string"CustomerCreditCard"
"billingAddress":{8 items
"__typename":string"CustomerCreditCardBillingAddress"
"address1":string"3 Brewster Road"
"city":string"Newark"
"country":string"United States"
"countryCode":string"US"
"province":string"New Jersey"
"provinceCode":string"NJ"
"zip":string"07114"
}
"brand":string"visa"
"expiresSoon":boolfalse
"expiryMonth":int6
"expiryYear":int2030
"firstDigits":string"424242"
"lastDigits":string"4242"
"maskedNumber":string"•••• •••• •••• 4242"
"name":string"JD"
"revocable":boolfalse
}
}
"deliveryMethod":{3 items
"__typename":string"SubscriptionDeliveryMethodShipping"
"address":{11 items
"__typename":string"SubscriptionMailingAddress"
"address1":string"3 Brewster Road"
"city":string"Newark"
"country":string"United States"
"countryCode":string"US"
"firstName":string"Jaydeep"
"lastName":string"Virani"
"name":string"Jaydeep Virani"
"province":string"New Jersey"
"provinceCode":string"NJ"
"zip":string"07114"
}
"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"DAY"
"intervalCount":int1
}
"deliveryPrice":{3 items
"__typename":string"MoneyV2"
"amount":string"4.9"
"currencyCode":string"USD"
}
"discounts":{2 items
"__typename":string"SubscriptionManualDiscountConnection"
"edges":[1 item
0:{2 items
"__typename":string"SubscriptionManualDiscountEdge"
"node":{8 items
"__typename":string"SubscriptionManualDiscount"
"id":string"gid://shopify/SubscriptionManualDiscount/89a7218e-e72e-495d-aaca-566436795f4f"
"recurringCycleLimit":int1
"rejectionReason":string"USAGE_LIMIT_REACHED"
"targetType":string"LINE_ITEM"
"title":string"5PERCENT"
"type":string"CODE_DISCOUNT"
"value":{2 items
"__typename":string"SubscriptionDiscountPercentageValue"
"percentage":int5
}
}
}
]
}
"id":string"gid://shopify/SubscriptionContract/7797538859"
"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"25.0"
"currencyCode":string"USD"
}
"customAttributes":[]0 items
"discountAllocations":[]0 items
"id":string"gid://shopify/SubscriptionLine/ed75d645-ec40-43e2-8cde-6ca8aa5807c4"
"lineDiscountedPrice":{3 items
"__typename":string"MoneyV2"
"amount":string"25.0"
"currencyCode":string"USD"
}
"productId":string"gid://shopify/Product/6795437899819"
"quantity":int1
"sellingPlanName":string"Daily Membership"
"sku":string""
"taxable":booltrue
"title":string"Cable Organizer"
"variantId":string"gid://shopify/ProductVariant/39927507648555"
"variantImage":{2 items
"__typename":string"Image"
"transformedSrc":string"https://cdn.shopify.com/s/files/1/0565/2863/3899/products/WallHook5_1024x1024_06f38b63-770c-436b-8765-6f75bc818dc8.jpg?v=1646988743"
}
}
}
]
}
"nextBillingDate":string"2024-04-10T15:30: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-01-23T15:30:00Z"
"id":string"gid://shopify/FulfillmentOrder/6157699416107"
"status":string"OPEN"
}
}
]
}
"id":string"gid://shopify/Order/5106195988523"
"name":string"#1180"
}
"status":string"ACTIVE"
"updatedAt":string"2024-04-09T17:50:31Z"
}
"type":string"membership.activated"
}
Did this answer your question?