POST MarketingPreference/Post
Request Information
URI Parameters
None.
Body Parameters
ShopifyEmailMarketing| Name | Description | Type | Additional information |
|---|---|---|---|
| customer_id | integer |
None. |
|
| email_address | Object |
None. |
|
| email_marketing_consent | Email_Marketing_Consent |
None. |
Request Formats
application/json, text/json
Sample:
{
"customer_id": 1,
"email_address": {},
"email_marketing_consent": {
"consent_updated_at": "2025-12-10T03:45:49.0587362+00:00",
"opt_in_level": {},
"state": "sample string 2"
}
}
application/xml, text/xml
Sample:
<ShopifyEmailMarketing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopifyWebhook.Models">
<customer_id>1</customer_id>
<email_address />
<email_marketing_consent>
<consent_updated_at>2025-12-10T03:45:49.0587362+00:00</consent_updated_at>
<opt_in_level />
<state>sample string 2</state>
</email_marketing_consent>
</ShopifyEmailMarketing>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.