ops
ops-sales-agents
Create a sales agent
Changed onAdd a new seller portal sales agent
post/ops/sales-agents
Request
- Base URLhttps://api.topi-staging.eu
- URLhttps://api.topi-staging.eu/ops/sales-agents
- AuthOAuth 2Authorization code: /oauth2/authorizeToken URL: /oauth2/token scopes: ops-seller:edit
Request body
Example request
{
"email": "alice@example.com",
"external_agent_id": "abc123",
"name": "abc123",
"phone": "abc123",
"seller_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"seller_store_id": "abc123",
"topi_relevant": false
}Response
Created response.
Example response
{
"email": "alice@example.com",
"external_agent_id": "abc123",
"id": "auth0|63881a171828b3997ad1b3fc",
"language": "abc123",
"last_login": "1970-01-01T00:00:01Z",
"name": "abc123",
"phone": "abc123",
"seller_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"seller_store_id": "abc123",
"status": "abc123",
"topi_relevant": false
}Changes
- info
api operation id
portal_sales_agents.addPortalAgentremoved and replaced withportal_sales_agents#addPortalAgent
- info
- info
api operation id
portal_sales_agents#addPortalAgentremoved and replaced withportal_sales_agents.addPortalAgent - info
api tag
ops-sales-agentsadded
- info