Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

How to set up new Shopify shop for Brilliant Basic Customer / Profile Integration?

Because of dependencies, the configuration should be performed bottom-up approach, meaning 1. SFMC 2. Middleware 3. Shopify Configuration TBD

Shopify Configuration

  1. Setup Shopify Webhook

endpoint:

Code Block
POST api.cdp-rb.com/shopify/customer
Expand
titlehttp headers
Code Block
Content-Type: application/json
X-Shopify-Api-Version: 2023-01
X-Shopify-Hmac-Sha256: ILtusukdp**********QCNviDRq+msml8g=
X-Shopify-Shop-Domain: enfamil-canada.myshopify.com
X-Shopify-Topic: customers/update
X-Shopify-Triggered-At: 2023-10-27T10:26:17.062770459Z
X-Shopify-Webhook-Id: 978b4939-e0bf-4ad2-bc26-80d8c4f61e78

Expand
titlejson payload
Code Block
{
  "id": 6393420644388,
  "email": "aprilhuang6066@hotmail.com",
  "accepts_marketing": false,
  "created_at": "2023-10-27T06:26:14-04:00",
  "updated_at": "2023-10-27T06:26:17-04:00",
  "first_name": "April",
  "last_name": "Huang",
  "orders_count": 0,
  "state": "enabled",
  "total_spent": "0.00",
  "last_order_id": null,
  "note": null,
  "verified_email": true,
  "multipass_identifier": null,
  "tax_exempt": false,
  "tags": "DEP_EN",
  "last_order_name": null,
  "currency": "CAD",
  "phone": null,
  "addresses": [
    
  ],
  "accepts_marketing_updated_at": "2023-10-27T06:26:14-04:00",
  "marketing_opt_in_level": null,
  "tax_exemptions": [
    
  ],
  "email_marketing_consent": {
    "state": "not_subscribed",
    "opt_in_level": "single_opt_in",
    "consent_updated_at": null
  },
  "sms_marketing_consent": null,
  "admin_graphql_api_id": "gid://shopify/Customer/6393420644388"
}

Middleware Configuration TBD

...