Get Commercial Agreements By Service
GET /v1/agreement/service/:id/commercial
Retrieves a list of commercial agreements related to a specific service. Returns only commercial-type agreements associated with the given service identifier.
Response Example
[
{
"_id": "agreement-id-1",
"content": {
"en": {
"title": "Commercial Agreement",
"description": "Commercial terms and conditions.",
"body": "{\"blocks\":[{\"key\":\"a1b2c\",\"text\":\"Commercial agreement content.\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}"
}
},
"services": ["service-id-1"],
"active": true,
"global": false,
"reconsent": false,
"tenant": "tenant-id-1",
"type": "COMMERCIAL",
"created": "2025-04-02T16:01:45.209Z",
"updated": "2025-08-14T16:51:16.832Z"
}
]