Skip to content
BolderBolder Developers
Esc
↑↓navigate↵open⌘Jpreview

Add a recipient

Needs shops.write. With notification_type the mailbox joins the notification profile that enables that type (created the first time, named Aviso: <type>), so it receives that notification and nothing else; the profile settings of the shop still decide the rest. Without it the mailbox gets every email. Adding an address that already receives the notification is a 422 on $.email.

POST/shops/{shop_id}/recipients
Authorization
AuthorizationBearer token (JWT) · headerrequired
Path parameters
shop_idintegerrequired
Request body
requiredapplication/json
emailstringrequired
namestring

Defaults to the email.

notification_typestring
Responses
201

The recipient

403

Access denied

422

Invalid or repeated email, unknown type or unknown fields

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://api.onbolder.com/v2/shops/1/recipients' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "string",
  "name": "string",
  "notification_type": "string"
}'
Response
The recipient

Was this page helpful?