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}/recipientsAuthorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
shop_idintegerrequiredRequest body
requiredapplication/jsonemailstringrequirednamestringDefaults to the email.
notification_typestringResponses
201
The recipient
403
Access denied
422
Invalid or repeated email, unknown type or unknown fields