import type * as Brevo from "../../../../index.mjs"; /** * @example * { * orders: [{ * amount: 308.42, * createdAt: "2021-07-29T20:59:23.383Z", * id: "14", * products: [{ * price: 99.99, * productId: "P1" * }], * status: "completed", * updatedAt: "2021-07-30T10:59:23.383Z" * }] * } */ export interface CreateBatchOrderRequest { /** Defines whether you want your orders to be considered as live data or as historical data (import of past data, synchronising data). True: orders will not trigger any automation workflows. False: orders will trigger workflows as usual. */ historical?: boolean; /** Webhook URL to receive the status of the batch request */ notifyUrl?: string; /** array of order objects */ orders: Brevo.Order[]; }