/** * @example * { * periodFrom: "2022-01-02T00:00:00Z", * periodTo: "2022-01-03T00:00:00Z", * "emailCampaignId[]": ["sale"] * } */ export interface GetEcommerceAttributionMetricsRequest { /** When getting metrics for a specific period, define the starting datetime in RFC3339 format */ periodFrom?: string; /** When getting metrics for a specific period, define the end datetime in RFC3339 format */ periodTo?: string; /** The email campaign ID(s) to get metrics for */ "emailCampaignId[]"?: string | string[]; /** The SMS campaign ID(s) to get metrics for */ "smsCampaignId[]"?: string | string[]; /** The automation workflow ID(s) to get email attribution metrics for */ "automationWorkflowEmailId[]"?: string | string[]; /** The automation workflow ID(s) to get SMS attribution metrics for */ "automationWorkflowSmsId[]"?: string | string[]; }