Replies: 2 comments
-
I will use webhook api to dynamic manage webhooks for shopify stores~ |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can do something like this: class SyncWebhooksAction
{
public function execute(User $shop): void
{
$shopId = ShopId::fromNative($shop->id);
$webhooks = config('shopify-app.webhooks');
WebhookInstaller::dispatch($shopId, $webhooks);
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to know if after adding a new webhook, it can take effect automatically without reinstalling the app. Or, similarly, I can click Update app in the shopify background to complete the webhook installation.
Beta Was this translation helpful? Give feedback.
All reactions