v2

latestOpenAPI 3.0.32026-08-05174296703.4 KB
ops

addBulkAgents portal_sales_agents

Add a bulk of sales agents to the seller portal

post/ops/sales-agents/bulk

Request body

Example request

{
  "new_agents": [
    {
      "email": "alice@example.com",
      "external_agent_id": "abc123",
      "name": "abc123",
      "phone": "abc123",
      "seller_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "seller_store_id": "abc123"
    }
  ]
}

Response

Created response.

count_new_agentsinteger required

Number of new agents added

failed_agentsstring[]

List of agents that failed to be added

Example response

{
  "count_new_agents": 1,
  "failed_agents": [
    "abc123"
  ]
}