Services
Delete Service
Soft-delete an existing trade service. Associated assignees, scenario, and transfer records are removed. Only services belonging to the organization associated with the API key can be deleted.
Authorization
bearerAuth AuthorizationBearer <token>
Bearer token authentication for API access.
In: header
Path Parameters
serviceId?number
The unique identifier of the service
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/services/{serviceId}"{ "message": "Service deleted successfully"}{ "success": false, "message": "Invalid or expired token", "error": { "status": 401, "message": "Invalid or expired token" }}{ "success": false, "message": "Not found", "error": { "status": 404, "message": "Not found" }}{ "success": false, "message": "Internal server error", "error": { "status": 500, "message": "Internal server error" }}Create Service POST
Create a new trade service. The service will be associated with the organization of the API key. A scenario is automatically created and linked to the service.
Get Service GET
Retrieve a single trade service by ID, including its linked scenario. Only services belonging to the organization associated with the API key can be retrieved.