Page Comparison - Upload Subscriber List (v.21 vs v.22) - EN documentation - REES46 Manual
Page tree

Versions Compared

Key

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

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

Anchor
Top
Top

Panel
titleThis page covers the following:

Table of Contents

 


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:

NOTE: To clarify, consider the following example of PHP-code.

  • Send an HTTP POST request to the following URL: http://api.rees46.com/import/audience
    Anchor
    LOL
    LOL
  • Use the following HTTP header in the process: Content-Type: application/json
  • Each request should be limited by 500 5000 entries.
  • Use JSON as the body of your request, following this format:
    NOTE: 100 placeholder stand for the ID of the customer. John.Doe@store.com placeholder stands for the email address of the customer.
Code Block
{
  "shop_id": "1234567890",             // (required, type: string) Store Key
  "shop_secret": "0987654321",         // (required, type: string) Secrte Key
  "audiencesegment_id": "12356",               // (optional, type: number/string) Static segment ID 
  "audience": [                        // (required, type: array) Array of subscribers
    {
      "idemail": "100John.Doe@store.com",   // (required, type: string) Email 
      "triggers": true,                // (requiredoptional, type: boolean, default: true) Customer
ID                                       // If "true", the email": "John.Doe@store.com"  // (required) 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
    }
  ]
}


Info
titleTIP

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


Panel
titleTable of Contents

Anchor
Menu
Menu

Page Tree
rootMain Settings