curl --location -g --request GET '{{BASE_URL}}/admin/notifications/'
{
"notification": {
"id": "string",
"to": "string",
"channel": "email",
"template": "string",
"data": {},
"trigger_type": "order.created",
"resource_id": "string",
"resource_type": "order",
"receiver_id": "string",
"original_notification_id": "string",
"external_id": "string",
"provider_id": "string",
"created_at": "2019-08-24T14:15:22Z"
}
}
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.channel
is email
, this can be an email number.