Hello
Message for the Shopify internal devs, just wondering if we could add a few more fields to the app_susbcriptions/update event?
Existing payload:
{:shop_domain=>“.myshopify.com", :webhook=>{:app_subscription=>{:admin_graphql_api_id=>"gid://shopify/AppSubscription/”, :name=>“Plan name”, :status=>“ACTIVE”, :admin_graphql_api_shop_id=>“gid://shopify/Shop/***”, :created_at=>“2025-01-21T22:49:53+03:00”, :updated_at=>“2025-01-21T22:50:03+03:00”, :currency=>“USD”, :capped_amount=>nil}}}
Proposed updates:
- currentPeriodEnd (seems important)
- test (is this a test or real transaction)
- lineItems (nice to have)
Without these fields app devs must routinely fetch subscription data for shops to ensure we keep the currentPeriodEnd accurate.
Useful for showing a merchant: “Your app billing cycle renews on: XX-XX-2025”
Bonus points if we could provide a payload schema for each webhook event topic to include the data the app needs or cares about. There’s a substantial disconnect between Shopify admin graphql and webhook event payloads.
- Using managed webhooks via shopify.app.toml (v2024-10)