UNPKG

@myparcel/sdk

Version:

JavaScript SDK to connect to the MyParcel API via Node.js or browser

14 lines (13 loc) 311 B
export type WebhookSubscriptionParameters = { account_id?: number; shop_id?: number; hook?: string; ids?: string; }; export interface MyParcelWebhook { account_id: number; hook: 'shipment_label_created' | 'shipment_status_change'; id: number; shop_id: number; url: string; }