Retrieve products emails - celdotro/marketplace GitHub Wiki

About

Retrieve all unanswered emails about products

Class

EmailCommunication

Method

getProductEmails

API

  • method: email
  • action: getProductEmails

Parameters

(optionally) product_model = product's model to be searched

Response

An object with the following attributes

  • array = found questions
    • id = ID-ul intrebarii
    • nume = client's name
    • intrebare = question's content
    • data = question's date

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Email/6.getProductEmails.php

Example - JSON

{
  "request": {
    "product_model": "X"
  },
  
  "response": {
    "0": {
      "id": 1,
      "nume": "X",
      "intrebare": "X",
      "data": "01-01-2018"
    }
  }
}
⚠️ **GitHub.com Fallback** ⚠️