Coursings
Multi-course meal sequencing
Authorization
ApiKeyAuth API key authentication. Format: karma_live_* or karma_dev_*
In: header
Query Parameters
Filter by location ID
Page number
1 <= value1Items per page
1 <= value <= 10020Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/coursings"{ "status": "success", "data": { "coursings": [ { "id": "string", "locationId": 0, "title": "string", "order": 0, "color": "string", "isInherited": true, "sourceLocationId": 0, "inheritToChildren": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "pagination": { "page": 1, "limit": 1, "total": 0, "totalPages": 0 } }, "meta": { "requestId": "string", "timestamp": "2019-08-24T14:15:22Z", "executionTimeMs": 0 }}Authorization
ApiKeyAuth API key authentication. Format: karma_live_* or karma_dev_*
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Location ID
Coursing title
1 <= lengthDisplay order (0-100)
0 <= value <= 100Hex color code (e.g., #FF5733)
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/coursings" \ -H "Content-Type: application/json" \ -d '{ "locationId": 0, "title": "string", "order": 0 }'{ "status": "success", "data": { "id": "string", "locationId": 0, "title": "string", "order": 0, "color": "string", "isInherited": true, "sourceLocationId": 0, "inheritToChildren": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "meta": { "requestId": "string", "timestamp": "2019-08-24T14:15:22Z", "executionTimeMs": 0 }}Authorization
ApiKeyAuth API key authentication. Format: karma_live_* or karma_dev_*
In: header
Path Parameters
Coursing ID (UUID)
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/coursings/string"{ "status": "success", "data": { "id": "string", "locationId": 0, "title": "string", "order": 0, "color": "string", "isInherited": true, "sourceLocationId": 0, "inheritToChildren": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "meta": { "requestId": "string", "timestamp": "2019-08-24T14:15:22Z", "executionTimeMs": 0 }}Authorization
ApiKeyAuth API key authentication. Format: karma_live_* or karma_dev_*
In: header
Path Parameters
Coursing ID (UUID)
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/v1/coursings/string"{ "status": "success", "data": { "deleted": true }, "meta": { "requestId": "string", "timestamp": "2019-08-24T14:15:22Z", "executionTimeMs": 0 }}Authorization
ApiKeyAuth API key authentication. Format: karma_live_* or karma_dev_*
In: header
Path Parameters
Coursing ID (UUID)
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= length0 <= value <= 100Hex color code (e.g., #FF5733)
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v1/coursings/string" \ -H "Content-Type: application/json" \ -d '{}'{ "status": "success", "data": { "id": "string", "locationId": 0, "title": "string", "order": 0, "color": "string", "isInherited": true, "sourceLocationId": 0, "inheritToChildren": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "meta": { "requestId": "string", "timestamp": "2019-08-24T14:15:22Z", "executionTimeMs": 0 }}