booking_hold
InactiveTool of ComOS Federation Gateway
Reserve a service slot. Idempotent on `idempotency_key`. Returns `booking: null` if the tenant is unknown. (Federated: requires tenant_id. For cart/orders, pass auth_token from POST /v1/auth/login. Product IDs are MongoDB ObjectIds from catalog_search.)
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"tenant_id",
"provider_id",
"start",
"duration_min",
"customer_ref",
"idempotency_key"
],
"properties": {
"start": {
"type": "string"
},
"tenant_id": {
"type": "string"
},
"auth_token": {
"type": "string",
"description": "JWT auth token for authenticated operations (cart, orders). Get from api_call POST /v1/auth/login."
},
"provider_id": {
"type": "string"
},
"customer_ref": {
"type": "string"
},
"duration_min": {
"type": "number"
},
"idempotency_key": {
"type": "string"
}
},
"additionalProperties": false
}Parent server
ComOS Federation Gateway
https://github.com/ronrey/comos-federation
2/7 registries