shopify-admin-api
Version:
Shopify Admin API is a NodeJS library built to help developers easily authenticate and make calls against the Shopify API. It was inspired by and borrows heavily from ShopifySharp.
19 lines (18 loc) • 646 B
TypeScript
import { WebhookTopic } from "../enums/webhook_topic";
import * as Options from '../options';
export interface WebhookBaseOptions {
/**
* Retrieve only webhooks that possess the URI where the webhook sends the POST request when the event occurs.
*/
address?: string;
/**
* Retrieve only webhooks with a given topic.
*/
topic?: WebhookTopic;
}
export interface WebhookListOptions extends WebhookBaseOptions, Options.ListOptions, Options.DateOptions, Options.FieldOptions {
}
export interface WebhookCountOptions extends WebhookBaseOptions {
}
export interface WebhookGetOptions extends Options.FieldOptions {
}