List the locations of a deal
/deals/{deal_id}/locationsLists the locations linked to the deal, ordered by location_id and then by id, not in the order they were added. An unknown deal returns 404 naming it. A deal may link the same location more than once, each with its own details.
Path parameters
The deal's id, a uuid. An unknown deal, or one the token can't see, returns 404.
Query parameters
- Default:
Page size (1–100). Defaults to 25; values are clamped to the range.
25 Opaque pagination cursor taken from a prior response's
meta.next_cursor.Comma-separated top-level fields to return.
idis always returned.Comma-separated fields to sort by: location_id or created_at. Prefix a field with
-for descending. Defaults tolocation_id. The id is always the final tiebreak.
Responses
{
"data": [
{
"id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"location_id": 1,
"label": "string",
"details": "string",
"created_at": "2026-06-12T10:00:00+00:00",
"updated_at": "2026-06-12T10:00:00+00:00"
}
],
"meta": {
"limit": 1,
"next_cursor": "string",
"prev_cursor": "string"
}
}Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
The request can't be processed (HTTP 422): validation_failed with one ErrorDetail per
problem, or a code documented on the operation.
Examples
curl https://your-org-domain/kong/core/api/v2/deals/{deal_id}/locations\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"