post https://api.reevoocloud.com/v4/organisations//conversations
Creates new conversation question.
JSON Body Attributes
You should POST a json object with the following attributes. You have a choice of either posting using the product SKU or using automotive attributes.
Creating a question with SKU
Attribute | Description |
---|---|
sku | product sku |
first_name | first name of the person that asked the question (optional, default: A shopper) |
email of the person that asked the question | |
question | the question asked in this conversation |
Creating a question with automotive attributes
Attribute | Description |
---|---|
manufacturer | mandatory |
model | mandatory |
axle | optional |
body_type | optional |
doors | optional |
engine_size | optional |
engine_size_in_litres | optional |
fuel_type | optional |
model_display | optional |
model_variant | optional |
model_from_month | optional |
model_from_year | optional |
model_to_month | optional |
model_to_year | optional |
model_year | optional |
transmission | optional |
used | optional |
vehicle_type | optional |
Example JSON Object
{
"sku": "AIPTPDV5700",
"first_name": "Joe",
"email": "[email protected]",
"question": "How is this product?"
}
curl --header "Content-Type: application/json" \
--request POST \
--data '{"sku": "AIPTPDV5700","first_name": "Joe","email": "[email protected]","question": "Test question about a product?"}' \
--header 'authorization: Basic VGVzdF9rZXlfMDAwOlRlc3Rfc2VjcmV0XzAwMA==' \
https://api.reevoocloud.com/v4/organisations/D10/conversations