salesforce-marketingcloud / FuelSDK-Node

BSD 3-Clause "New" or "Revised" License
49 stars 24 forks source link

Save multiple subscribers in one request #38

Open yebl opened 4 years ago

yebl commented 4 years ago

Hello!

Is it possible to save multiple subscribers in one request? I'm trying to put subscribers in a specific list.

I can send only one subscriber to SFMC using the code like below:

const SFMC = require('sfmc-fuelsdk-node')
const client = new SFMC(credentials.clientId, credentials.clientSecret)
  client.subscriber({
    props: { // ....

But unfortunately, I can't see how it's possible to send multiple subscribers. Is there a way to do it? Maybe I can use client.SoapClient or something else? Could you, please, help me to find a solution?

Or if there is no way to do it, it can be implemented in a new version.

Thank you.

yebl commented 4 years ago

The issue can be solved with the following pull-request: https://github.com/salesforce-marketingcloud/FuelSDK-Node-SOAP/pull/136