Admin
Patch Admin Vendor
Update a vendor (admin only).
Authorization
bearerAuth AuthorizationBearer <token>
Authentication required for all endpoints. Supports Better Auth user credentials, dedicated coworker bearer API keys (coworker_), and the orchestrator service bearer (ORCHESTRATOR_SERVICE_TOKEN).
In: header
Path Parameters
id*string
Vendor ID
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://loading/v1/admin/vendors/01960001-0001-7001-8001-000000000001" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "01960001-0001-7001-8001-000000000001",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"name": "Serviceplan",
"slug": "serviceplan",
"logos": {
"light": "/images/logos/serviceplan-logo.png",
"dark": "/images/logos/serviceplan-logo-white.png"
}
},
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"pagination": {
"cursor": "cmg4zknxt0000l404yn4li0kp",
"limit": 20,
"total": 100,
"nextCursor": "cmi4gmksz000104l8wps8p7fp"
}
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}Patch Admin Agent Metadata Override PATCH
Create or update Sokosumi metadata overrides for an agent (admin only).
Refund Admin Task Payment Claim POST
Refund a reviewed task payment claim without parsing its stored purchase payload or contacting the payment node. Use only after confirming out of band that no live purchase exists (admin only).

