Page tree
Skip to end of metadata
Go to start of metadata

This section helps you upload a list of your current subscribers for the Email Marketing Tool to work properly.

This page covers the following:

Upload Your Subscriber List

To get full functionality and all benefits from trigger and marketing emails you need to upload a list of your current subscribers.

How to Upload the List

To upload the list, consider the following steps:

  • Send an HTTP POST request to the following URL:
  • Use the following HTTP header in the process: Content-Type: application/json
  • Each request should be limited by 500 entries.
  • Use JSON as the body of your request, following this format:
    NOTE: 100 placeholder stand for the ID of the customer. placeholder stands for the email address of the customer.
  "shop_id": "1234567890",         // (required) Store Key
  "shop_secret": "0987654321",     // (required) Secrte Key
  [                    // (required) Array of subscribers
      "email": "",   // (required, type: string) Email 
      "triggers": true,                // (optional, type: boolean, default: true) 
                                       // If "true", the email will be subscribed to trigger mailings, "false" - will be unsubscribed

      "digests": true,                 // (optional, type: boolean, default: true)
                                       // If "true", the email will be subscribed to digest mailings, "false" - will be unsubscribed

      "loyalty_id": "123454321",       // (optional, type: string) Identifier (number) of the customer's loyalty card
      "phone": "9991005000",           // (optional, type: string) Customer's phone number
      "location_id": "107001",         // (optional, type: string/number) Identifier of the store/city location used 
                                       // in the product feed (XML) or HTTP import of products.

      "child": true                    // (optional, type: boolean, default: false) Flag of the customer having children


Sending requests with an empty audience array or absent the array will trigger an error notification email.

Return to the top of the page | Proceed to the next page

Table of Contents

  • No labels