Email Statuses
Get Transactional Email Settings
GET https://api.bigcommerce.com/stores/{store_hash}/v3/settings/email-statusesRequest
Get global transactional email settings or channel specific overrides by
channel_id
.Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- channel_id in query - integerChannel ID to use for channel-specific settings. If omitted, you will interact with the global settings only.
example
curl --request GET \
--url 'https://api.bigcommerce.com/stores/[store_hash]/v3/settings/email-statuses' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Auth-Token: {{token}}'
Response
OK, null indicates that a particular field has not been overridden on a channel level when channel level settings are requested
Body
object | application/json
dataobject
Example
{
"data": {
"abandoned_cart_email": true,
"account_details_changed_email": true,
"combined_order_status_email": true,
"createaccount_email": true,
"createguestaccount_email": true,
"giftcertificate_email": true,
"invoice_email": true,
"ordermessage_notification": true,
"product_review_email": false,
"return_confirmation_email": true,
"return_statuschange_email": true
},
"meta": {}
}
Update Transactional Email Settings
PUT https://api.bigcommerce.com/stores/{store_hash}/v3/settings/email-statusesRequest
Update global transactional email settings or create channel specific overrides by
channel_id
.Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- Content-Type in header with default of application/json - stringrequiredThe MIME type of the request body.
- channel_id in query - integerChannel ID to use for channel-specific settings. If omitted, you will interact with the global settings only.
Body
object | application/json
abandoned_cart_emailboolean
account_details_changed_emailboolean
combined_order_status_emailboolean
create_account_emailboolean
create_guest_account_emailboolean
gift_certificate_emailboolean
invoice_emailboolean
product_review_emailboolean
return_confirmation_emailboolean
return_statuschange_emailboolean
Example
{
"abandoned_cart_email": true,
"account_details_changed_email": true,
"combined_order_status_email": true,
"createaccount_email": true,
"createguestaccount_email": true,
"giftcertificate_email": true,
"invoice_email": true,
"ordermessage_notification": true,
"product_review_email": false,
"return_confirmation_email": true,
"return_statuschange_email": true
}
Response
OK
Body
object | application/json
dataobject
Example
{
"data": {
"abandoned_cart_email": true,
"account_details_changed_email": true,
"combined_order_status_email": true,
"createaccount_email": true,
"createguestaccount_email": true,
"giftcertificate_email": true,
"invoice_email": true,
"ordermessage_notification": true,
"product_review_email": false,
"return_confirmation_email": true,
"return_statuschange_email": true
},
"meta": {}
}
Did you find what you were looking for?