Interface Webhook

Webhook information

interface Webhook {
    address: string;
    api_version?: string;
    created_on: string;
    fields?: string[];
    format: "json";
    id: number;
    metafield_namespaces?: string[];
    private_metafield_namespaces?: string[];
    topic: WebhookTopic;
    updated_on: string;
}

Properties

address: string

Webhook address (URL)

api_version?: string

API version to use

created_on: string

Creation timestamp

fields?: string[]

Fields to include in the payload

format: "json"

Format of the data sent (json)

id: number

Unique identifier

metafield_namespaces?: string[]

Metafields to include in the payload

private_metafield_namespaces?: string[]

Private metafields to include in the payload

Webhook topic

updated_on: string

Last update timestamp