Home > @infiniteobjects/models > PrintButtonSaleRepository > sendWebhooks
Sends the Pub/Sub events for the given Sale
Signature:
sendWebhooks(sale: PrintButtonSaleModel, platform: IPrintButtonPlatformConfig, force?: boolean): Promise<PrintButtonSaleModel>;
Parameter | Type | Description |
---|---|---|
sale | PrintButtonSaleModel | |
platform | IPrintButtonPlatformConfig | |
force | boolean | (Optional) |
Returns:
Promise<PrintButtonSaleModel>