Agents

Sales transactions where this agent was listing or selling side

POST
/v1/agents/{id}/sales

Authorization

x-api-key<token>

In: header

Path Parameters

id*string

Agent document ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/agents/string/sales" \  -H "Content-Type: application/json" \  -d '{}'
{
  "cursor": "string",
  "data": [
    {
      "address": "string",
      "city": "string",
      "date": "string",
      "id": "string",
      "listAgentName": "string",
      "price": 0,
      "soldAgentName": "string",
      "state": "string",
      "txType": "string",
      "zip": "string"
    }
  ],
  "total": 0
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string",
  "limit": 0,
  "size": 0
}