Open2b versione 7.5

newsletter-lists

Returns the newsletter lists.

Request

HTTP POST
/api/v10/storefront.newsletter-lists
{
  "language" : "en", // language ( ISO code ) of the texts to return - string(2)
  "fields" : [ "id", "name", … ] // fields to return - string
}

Response

{
  "status" : "ok",
  "lists" : [ {
    "id" : 5, // identifier - int(1…)
    "name" : "Special offers", // name - string(0…80)
    "description" : "All the special offers of the week" // description - string(0…255)
  }, … ]
}