curl --location --request POST '/v2/notifications/opt-in' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "async_orders",
"webhook_url": "https://example.com"
}'
{
"data": {
"notification": {
"type": "async_orders",
"contact_point": "https://example.com"
}
},
"meta": {
"message": "success"
}
}