Lists all KPIs for an order.
curl --request GET \
--url https://console.lomaplatform.com/api/vendor/v1/orders/{orderId}/kpis \
--header 'API-Key: <api-key>'
[
{
"id": "evJcYq2GgBtdoVxa",
"name": "Schools Engaged",
"value": "2",
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
},
{
"id": "mxhTwZdeIxA2wBUx",
"name": "Emails Collected",
"value": null,
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
}
]
API Key for the vendor
200 OK
The response is of type object[]
.
curl --request GET \
--url https://console.lomaplatform.com/api/vendor/v1/orders/{orderId}/kpis \
--header 'API-Key: <api-key>'
[
{
"id": "evJcYq2GgBtdoVxa",
"name": "Schools Engaged",
"value": "2",
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
},
{
"id": "mxhTwZdeIxA2wBUx",
"name": "Emails Collected",
"value": null,
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
}
]
Lists all KPIs for an order.
curl --request GET \
--url https://console.lomaplatform.com/api/vendor/v1/orders/{orderId}/kpis \
--header 'API-Key: <api-key>'
[
{
"id": "evJcYq2GgBtdoVxa",
"name": "Schools Engaged",
"value": "2",
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
},
{
"id": "mxhTwZdeIxA2wBUx",
"name": "Emails Collected",
"value": null,
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
}
]
API Key for the vendor
200 OK
The response is of type object[]
.
curl --request GET \
--url https://console.lomaplatform.com/api/vendor/v1/orders/{orderId}/kpis \
--header 'API-Key: <api-key>'
[
{
"id": "evJcYq2GgBtdoVxa",
"name": "Schools Engaged",
"value": "2",
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
},
{
"id": "mxhTwZdeIxA2wBUx",
"name": "Emails Collected",
"value": null,
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
}
]