Open2b versione 7.5

producers

Returns the producers.

Request

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

Response

{
  "status" : "ok",
  "producers" : [ {
    "id" : 39, // identifier - int(1…)
    "name" : "Nike", // name - string(0…60)
    "description" : "", // description - string(0…65535)
    "seo" : {
      "title" : "", // title for SEO - string(0…255)
      "description" : "", // description for SEO - string(0…255)
    },
    "canonicalURL" : "https://www.store.com/nike", // canonical URL - string(10…)
    "productsLayout" : { // products layout on the producer page
      "products" : 12, // number of products per page, can be 0, 12, 24, 36, 48 or 72 - int
      "columns" : 4, // columns, can be 1, 2, 3, 4 or 6 - int
      "sortOrder" : "-Price", // sort order, can be "Position", "Name", "-Name", "Price", "-Price" or "Date" - string
      "imageSize" : "Optimal", // image size, can be "Optimal", Small", "Medium" or "Large" - string
      "showDescription" : false // indicates if the description is displayed - bool
    },
    "logo" : { // logo (can be null)
        "url" : "https://…", // url - string(46…255)
        "width" : 260, // width in pixel - int(1…2500)
        "height" : 190 // height in pixel - int(1…2500)
    }
  }, … ]
}