diff --git a/_docs/_partners/message_orchestration/channel_extensions/ecommerce/shopify/using_shopify/shopify_data_in_braze.md b/_docs/_partners/message_orchestration/channel_extensions/ecommerce/shopify/using_shopify/shopify_data_in_braze.md index aaf9bc90687..2ae4000d88b 100644 --- a/_docs/_partners/message_orchestration/channel_extensions/ecommerce/shopify/using_shopify/shopify_data_in_braze.md +++ b/_docs/_partners/message_orchestration/channel_extensions/ecommerce/shopify/using_shopify/shopify_data_in_braze.md @@ -112,69 +112,69 @@ After the app installation is complete, Braze automatically creates your webhook {% raw %} ```json { -"name": "shopify_created_order", - "time": "2024-03-26T11:03:55-04:00", - "properties": { - "order_id": 5603014377622, - "line_items": [ - { - "fulfillment_status": null, - "name": "Blue Silk Tuxedo - xs", - "price": 78, - "product_id": 5847345004694, - "properties": [], - "quantity": 1, - "sku": "", - "title": "Blue Silk Tuxedo", - "variant_id": 36790647521430, - "variant_title": "xs", - "vendor": "Liam Fashions" - } - ], - "fulfillments": [], - "shipping": [ - { - "title": "First Class Package International", - "price": 33.85 - } - ], - "shopify_storefront": "example-store.myshopify.com", - "total_price": 111.85, - "confirmed": true, - "total_discounts": 0, - "discount_codes": [], - "order_number": 1005, - "order_status_url": "https://example-store.myshopify.com/50699042966/orders/6e43c91d84b8e7832990502aca637a13/authenticate?key=d8184818cd06f09ac680ea82da78ce3e", - "cancelled_at": null, - "tags": "", - "closed_at": null, - "fulfillment_status": null, - "referring_site": "", - "payment_gateway_names": [ - "bogus" - ], - "shipping_address": { - "address1": "1111 street", - "address2": null, - "city": "New York", - "country": "United States", - "first_name": "John", - "last_name": "Doe", - "province": "New York", - "zip": "11111" - }, - "billing_address": { - "address1": "1111 street", - "address2": null, - "city": "New York", - "country": "United States", - "first_name": "John", - "last_name": "Doe", - "province": "New York", - "zip": "11111" + "name": "shopify_created_order", + "time": "2024-03-26T11:03:55-04:00", + "properties": { + "order_id": 5603014377622, + "line_items": [ + { + "fulfillment_status": null, + "name": "Blue Silk Tuxedo - xs", + "price": 78, + "product_id": 5847345004694, + "properties": [], + "quantity": 1, + "sku": "", + "title": "Blue Silk Tuxedo", + "variant_id": 36790647521430, + "variant_title": "xs", + "vendor": "Liam Fashions" } + ], + "fulfillments": [], + "shipping": [ + { + "title": "First Class Package International", + "price": 33.85 + } + ], + "shopify_storefront": "example-store.myshopify.com", + "total_price": 111.85, + "confirmed": true, + "total_discounts": 0, + "discount_codes": [], + "order_number": 1005, + "order_status_url": "https://example-store.myshopify.com/50699042966/orders/6e43c91d84b8e7832990502aca637a13/authenticate?key=d8184818cd06f09ac680ea82da78ce3e", + "cancelled_at": null, + "tags": "", + "closed_at": null, + "fulfillment_status": null, + "referring_site": "", + "payment_gateway_names": [ + "bogus" + ], + "shipping_address": { + "address1": "1111 street", + "address2": null, + "city": "New York", + "country": "United States", + "first_name": "John", + "last_name": "Doe", + "province": "New York", + "zip": "11111" + }, + "billing_address": { + "address1": "1111 street", + "address2": null, + "city": "New York", + "country": "United States", + "first_name": "John", + "last_name": "Doe", + "province": "New York", + "zip": "11111" } } +} ``` {% endraw %} @@ -883,6 +883,24 @@ After selecting your custom attribute, input a default value and copy the Liquid ![Pasting a Liquid snippet into a message.]({% image_buster /assets/img/Shopify/copy_liquid_snippet.png %}) +#### Example payload + +```json +{ + "attributes": [ + { + "shopify_tags": "VIP_customer", + "shopify_total_spent": "60.00", + "shopify_order_count": "3", + "shopify_last_order_id": "1234567", + "shopify_last_order_name": "test_order", + "shopify_zipcode": "10001", + "shopify_province": "null" + } + ] +} +``` + {% endtab %} {% tab Example Payload %} {% subtabs %}