laravel-shopify
laravel-shopify copied to clipboard
Webhook subscriptions additional fields
Add possibility of adding includeFields
and metafieldNamespaces
to webhook subscriptions as documented here.
'webhooks' => [
[
'topic' => 'ORDERS_CREATE',
'address' => 'https://some-app.com/webhook/orders-create',
// These can be either comma-separated string or array
'metafield_namespaces' => 'custom,mynamespace',
'include_fields' => ['id', 'note'],
],
...
]