Send an email of the cart’s URL using our email template. Note that in the sandbox environment, no emails will be sent to customers.
Arguments | Type | Required | Description |
---|---|---|
string | required | The email address of the customer whom you’re sending the email to. | |
name | string | required | The name of the customer whom you’re sending the emailing to. |
POST api.getbread.com/carts/:cartId/email
curl -X POST \
https://api.getbread.com/carts/b6c8caa2-cfcf-418b-ae72-88ee14e5a190/email \
-u '<api-key>:<secret-key&>' \
-H 'content-type: application/json' \
-d '{"email": "[email protected]", "name": "John"}'
{
"message": "Email Sent"
}