Map Shopify and platform API fields
{{ old('api_fields[to][0][email]')?old('api_fields[to][0][email]'):$api_fields['to'][0]['email']??'' }}
The email address to which email will be sent.Mandatory
{{ old('api_fields[to][0][name]')?old('api_fields[to][0][name]'):$api_fields['to'][0]['name']??'' }}
The name of person to which email will be sent.
{{ old('api_fields[cc][0][email]')?old('api_fields[cc][0][email]'):$api_fields['cc'][0]['email']??'' }}
Who should be cc'd on this email.
{{ old('api_fields[bcc][0][email]')?old('api_fields[bcc][0][email]'):$api_fields['bcc'][0]['email']??'' }}
Who should be bcc'd on this email.
{{ old('api_fields[sender][name]')?old('api_fields[sender][name]'):$api_fields['sender']['name']??'' }}
Name of the sender from which the emails will be sent.Maximum allowed characters are 70. Applicable only when email is passed.
{{ old('api_fields[sender][email]')?old('api_fields[sender][email]'):$api_fields['sender']['email']??'' }}
Email of the sender from which the emails will be sent.
{{ old('api_fields[replyto][name]')?old('api_fields[replyto][name]'):$api_fields['replyto']['name']??'' }}
Name in reply to.
Reply To Email
(required)
{{ old('api_fields[replyto][email]')?old('api_fields[replyto][email]'):$api_fields['replyto']['email']??'' }}
Email address in reply to.
Email Body
@include('sendinblue.partials.object_field_toggle', [
'field_label' => 'Choose Template',
'data_object' => 'EmailTemplates',
'id_name' => 'api_fields[templateId]',
'text_name' => 'api_fields[templateId_HiddenTextValue]',
'mode_name' => 'api_fields[templateId_mode_HiddenTextValue]',
'id_value' => old('api_fields[templateId]') ?: ($api_fields['templateId'] ?? ''),
'text_value' => old('api_fields[templateId_HiddenTextValue]') ?: ($api_fields['templateId_HiddenTextValue'] ?? ''),
'restore_mode' => old('api_fields[templateId_mode_HiddenTextValue]') ?: ($api_fields['templateId_mode_HiddenTextValue'] ?? 'dropdown'),
'field_help' => 'Mandatory if messageVersions are passed. If you choose template then you don\'t need to enter many of below field values.',
])
{{ old('api_fields[subject]')?old('api_fields[subject]'):$api_fields['subject']??'' }}
Subject of the message. Mandatory if 'template' is not selected
{{ old('api_fields[htmlContent]')?old('api_fields[htmlContent]'):$api_fields['htmlContent']??'' }}
HTML body of the message (Mandatory if 'Text Content' is not passed or Template not chosen from dropdown above).
{{ old('api_fields[textContent]')?old('api_fields[textContent]'):$api_fields['textContent']??'' }}
Plain Text body of the message (Mandatory if 'HTML Content' is not passed. or Template not chosen from dropdown above.
{{ old('api_fields[attachment][]')?old('api_fields[attachment][0]'):$api_fields['attachment'][0]??'' }}
Pass the absolute URL (no local file) or the base64 content of the attachment along with the attachment name.
Note:f template is chosen and is in New Template Language format then both attachment url and content are accepted. If template is in Old template Language format, then attachment is ignored
{{ old('api_fields[tags][0]')?old('api_fields[tags][0]'):$api_fields['tags'][0]??'' }}
Tag your emails to find them more easily.