Skip to content

Create a follow-up
Customers

Request

Creates a follow-up linking a customer to a product. Returns 409 if the follow-up already exists (customer already follows this product). Requires SITE_CUSTOMER:WRITE permission.

Security
bearerAuth
Path
customerIdintegerrequired

ID of the customer.

Example:789
productIdintegerrequired

ID of the product to follow.

Example:12345
curl -i -X POST \
  https://api-doc.immo-facile.com/_mock/openapi/customers/789/follow-ups/12345 \
  -H 'Authorization: Bearer <YOUR_opaque_HERE>'

Responses

Follow-up created

Bodyapplication/json
dataobject(FollowUpResponse)

A follow-up links a customer to a product they are interested in.

Response
{ "data": { "customerId": 789, "productId": 12345, "opinion": {}, "rating": 4, "visibleCustomer": true, "updatedAt": "2019-08-24T14:15:22Z", "progress": "string" } }