UNPKG

braze-api

Version:

Track users, send messages, export data, and more with Braze API.

20 lines 806 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.update = update; const request_1 = require("../../../common/request"); /** * Update scheduled API-triggered canvases. * * Use this endpoint to update scheduled API-Triggered Canvases, which are created on the dashboard and initiated via the API. * * {@link https://www.braze.com/docs/api/endpoints/messaging/schedule_messages/post_update_scheduled_triggered_canvases/} * * @param apiUrl - Braze REST endpoint. * @param apiKey - Braze API key. * @param body - Request parameters. * @returns - Braze response. */ function update(apiUrl, apiKey, body) { return (0, request_1.post)(`${apiUrl}/canvas/trigger/schedule/update`, body, (0, request_1.buildOptions)({ apiKey })); } //# sourceMappingURL=update.js.map