Get order questions - celdotro/marketplace GitHub Wiki
- Get order's questions
celmarket\Email\EmailCommunication
getOrderContact
- method: email
- action: getOrderContact
- orders_id = order's ID
An object with the following attributes
- (atrtibute) = question thread -> array
- (array element) = question/answer
- for type = 0 - question
- id = answer's ID
- client = client's name
- message = client's message
- date = message's date
- type = message's type
- for type = 1
- message = affiliate's message
- data = message's date
- type = message's type
- for type = 0 - question
- (array element) = question/answer
https://github.com/celdotro/marketplace_examples/blob/master/Email/17.getOrderContact.php
{
"request": {
"orders_id": 1
},
"response": {
"0": {
"id": 1,
"client": "X",
"message": "X",
"date": "01-01-2018",
"type": 0
}
}
}