Skip to main content
membership.updated
Updated over 3 months ago

This event will be triggered when a membership's information is updated.

Sample Message Content

{2 items
"data":{17 items
"__typename":string"SubscriptionContract"
"billingPolicy":{5 items
"__typename":string"SubscriptionBillingPolicy"
"anchors":[]0 items
"interval":string"MONTH"
"intervalCount":int1
"minCycles":int1
}
"createdAt":string"2024-01-16T07:56:45Z"
"customAttributes":[]0 items
"customer":{6 items
"__typename":string"Customer"
"displayName":string"John Doe"
"email":string"johndoe123@gmail.com"
"firstName":string"John"
"id":string"gid://shopify/Customer/6650565787691"
"lastName":string"Doe"
}
"customerPaymentMethod":{3 items
"__typename":string"CustomerPaymentMethod"
"id":string"gid://shopify/CustomerPaymentMethod/67ae18d1c2323fe3d770c8ee176ca1f7"
"instrument":{11 items
"__typename":string"CustomerCreditCard"
"billingAddress":{8 items
"__typename":string"CustomerCreditCardBillingAddress"
"address1":string"New York-New York Hotel & Casino"
"city":string"Las Vegas"
"country":string"United States"
"countryCode":string"US"
"province":string"Nevada"
"provinceCode":string"NV"
"zip":string"89109"
}
"brand":string"visa"
"expiresSoon":boolfalse
"expiryMonth":int9
"expiryYear":int2032
"firstDigits":string"424242"
"lastDigits":string"4242"
"maskedNumber":string"•••• •••• •••• 4242"
"name":string"Oline Mazumder"
"revocable":boolfalse
}
}
"deliveryMethod":{3 items
"__typename":string"SubscriptionDeliveryMethodShipping"
"address":{11 items
"__typename":string"SubscriptionMailingAddress"
"address1":string"New York-New York Hotel & Casino"
"city":string"Las Vegas"
"country":string"United States"
"countryCode":string"US"
"firstName":string"John"
"lastName":string"Doe"
"name":string"John Doe"
"province":string"Nevada"
"provinceCode":string"NV"
"zip":string"89109"
}
"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"MONTH"
"intervalCount":int1
}
"deliveryPrice":{3 items
"__typename":string"MoneyV2"
"amount":string"0.0"
"currencyCode":string"USD"
}
"discounts":{2 items
"__typename":string"SubscriptionManualDiscountConnection"
"edges":[]0 items
}
"id":string"gid://shopify/SubscriptionContract/7723286571"
"lastPaymentStatus":string"SUCCEEDED"
"lines":{2 items
"__typename":string"SubscriptionLineConnection"
"edges":[1 item
0:{2 items
"__typename":string"SubscriptionLineEdge"
"node":{16 items
"__typename":string"SubscriptionLine"
"currentPrice":{3 items
"__typename":string"MoneyV2"
"amount":string"270.0"
"currencyCode":string"USD"
}
"customAttributes":[]0 items
"discountAllocations":[]0 items
"id":string"gid://shopify/SubscriptionLine/87ecc94a-7e4c-4ed0-99de-ab25955e9894"
"lineDiscountedPrice":{3 items
"__typename":string"MoneyV2"
"amount":string"270.0"
"currencyCode":string"USD"
}
"pricingPolicy":{3 items
"__typename":string"SubscriptionPricingPolicy"
"basePrice":{3 items
"__typename":string"MoneyV2"
"amount":string"300.0"
"currencyCode":string"USD"
}
"cycleDiscounts":[2 items
0:{5 items
"__typename":string"SubscriptionCyclePriceAdjustment"
"adjustmentType":string"PERCENTAGE"
"adjustmentValue":{2 items
"__typename":string"SellingPlanPricingPolicyPercentageValue"
"percentage":int100
}
"afterCycle":int0
"computedPrice":{3 items
"__typename":string"MoneyV2"
"amount":string"0.0"
"currencyCode":string"USD"
}
}
1:{5 items
"__typename":string"SubscriptionCyclePriceAdjustment"
"adjustmentType":string"PERCENTAGE"
"adjustmentValue":{2 items
"__typename":string"SellingPlanPricingPolicyPercentageValue"
"percentage":int10
}
"afterCycle":int1
"computedPrice":{3 items
"__typename":string"MoneyV2"
"amount":string"270.0"
"currencyCode":string"USD"
}
}
]
}
"productId":string"gid://shopify/Product/6795438915627"
"quantity":int1
"sellingPlanId":string"gid://shopify/SellingPlan/881066027"
"sellingPlanName":string"Monthly"
"sku":string""
"taxable":booltrue
"title":string"19" Michelin Primacy MXM4"
"variantId":string"gid://shopify/ProductVariant/39927509483563"
"variantImage":{2 items
"__typename":string"Image"
"transformedSrc":string"https://cdn.shopify.com/s/files/1/0565/2863/3899/products/Michelin_Primacy_MXM4_1024x1024_84ce3948-0975-4f09-8c61-95922b2c07e1.jpg?v=1646988777"
}
}
}
]
}
"nextBillingDate":string"2024-05-09T19:43:13Z"
"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-16T07:30:00Z"
"id":string"gid://shopify/FulfillmentOrder/6149140774955"
"status":string"OPEN"
}
}
]
}
"id":string"gid://shopify/Order/5098157637675"
"name":string"#1174"
}
"status":string"ACTIVE"
"updatedAt":string"2024-04-09T19:43:22Z"
}
"type":string"membership.updated"
}
Did this answer your question?