stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > WebhookSubscriptionInput

AdminTypes.WebhookSubscriptionInput interface

The input fields for a webhook subscription.

Signature:

export interface WebhookSubscriptionInput 

Properties

Property Modifiers Type Description
callbackUrl?   InputMaybe<Scalars[‘URL’][‘input’]> (Optional) URL where the webhook subscription should send the POST request when the event occurs.
format?   InputMaybe<WebhookSubscriptionFormat | `${WebhookSubscriptionFormat}`> (Optional) The format in which the webhook subscription should send the data.
includeFields?   InputMaybe<Array<Scalars[‘String’][‘input’]>> (Optional) The list of fields to be included in the webhook subscription.
metafieldNamespaces?   InputMaybe<Array<Scalars[‘String’][‘input’]>> (Optional) The list of namespaces for any metafields that should be included in the webhook subscription.