Contracts
Get Pn L Breakdown
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/contracts.v1.Contracts/GetPnLBreakdown" \ -H "Content-Type: application/json" \ -d '{}'{
"byContract": [
{
"contractId": "string",
"itemsInInventory": "string",
"itemsSold": "string",
"realizedPnlCents": "string",
"unrealizedCostCents": "string"
}
],
"byMarket": [
{
"itemsSold": "string",
"marketplace": "string",
"realizedPnlCents": "string",
"sellRevenueCents": "string"
}
]
}Empty