Bulk set seats
Set all seat types at once.
Set all seat types at once.
ApiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
1 <= length <= 200curl -X PUT "https://commet.co/api/seats/bulk" \ -H "Content-Type: application/json" \ -d '{ "customerId": "string", "seats": { "property1": 0, "property2": 0 } }'Set all seat types at once.
{
"success": true,
"data": [
{
"id": "string",
"seatType": "string",
"previousBalance": 0,
"newBalance": 0,
"ts": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z"
}
]
}{
"success": false,
"code": "string",
"message": "string",
"details": null
}{
"success": false,
"code": "string",
"message": "string",
"details": null
}