Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Shopify Payload Examples #4350

Merged
merged 1 commit into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ guide_featured_list:
link: /docs/scripttag_web_sdk_integration/
fa_icon: fa-solid fa-tag
- name: Setting up Shopify
link: /docs/setting_up_shopify/
link: /docs/partners/message_orchestration/channel_extensions/ecommerce/shopify/setting_up_shopify/
fa_icon: fa fa-shopping-cart
- name: Shopify Data Processing
link: /docs/shopify_processing/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,12 +457,42 @@ Once the app installation is complete, Braze automatically creates your webhook
{% tab Shopify Custom Attributes %}
| Attribute Name | Description |
| --- | --- |
| `shopify_accepts_marketing` | This custom attribute corresponds to the email marketing opt-in status that is captured on the checkout page. |
| `shopify_sms_consent` | This custom attribute corresponds to the SMS marketing opt-in status that is captured on the checkout page. |
| `shopify_tags` | This attribute corresponds to the [customer tags](https://help.shopify.com/en/manual/shopify-admin/productivity-tools/using-tags#tag-types) set by Shopify admins. |
{: .reset-td-br-1 .reset-td-br-2}

{% endtab %}
{% tab Example Payload %}
{% subtabs local %}
{% subtab Shopify SMS Consent %}
```json
{
"attributes": [
{
"external_id": "user_id",
"shopify_sms_consent": {
"state": "subscribed",
"opt_in_level": "single_opt_in",
"collected_from": "other"
}
}
]
}
```
{% endsubtab %}
{% subtab Shopify Accepts Marketing (Email) %}
```json
{
"attributes": [
{
"external_id": "user_id",
"shopify_accepts_marketing": true
}
]
}
```
{% endsubtab %}
{% subtab Shopify Tags %}
```json
{
Expand Down