POST/api/v1/s2s/pharmacy/rooms
Create partner pharmacy room
Published Partner endpoint from the stable OpenAPI 1.0.0 contract.
Overview
Use this endpoint only with a Partner API key. Code samples use placeholders and the public sandbox URL.
- Method
- POST
- Endpoint
- /api/v1/s2s/pharmacy/rooms
- Authentication
- X-API-Key
Request
Parameters
- X-Correlation-IDstringheader
- Optional opaque request correlation ID for tracing API calls across systems. Billing audit paths persist only UUIDv4-shaped values and drop free-form values.
- Example: 33333333-3333-4333-8333-333333333333
Request body
Required- availabilityobjectRequired
- Initial weekly room availability rule. The room is created with this active rule.
- availability.dayOfWeekintegerRequired
- Weekday in JS/cron convention: 0 Sunday, 6 Saturday.
- Example: 1
- availability.endTimestringRequired
- End time in HH:mm.
- Example: 12:00
- availability.startTimestringRequired
- Start time in HH:mm.
- Example: 08:00
- availability.timezonestring
- Optional IANA timezone.
- Example: Europe/Berlin
- availability.validFromstring (date)
- Optional first local date on which this room rule is valid.
- Example: 2026-06-01
- availability.validUntilstring (date)
- Optional last local date on which this room rule is valid. Null means open-ended.
- Example: 2026-12-31
- namestringRequired
- Room display name.
- Example: Beratungsraum 1
- pharmacyOrgIdstring (uuid)Required
- Pharmacy organization identifier that owns the consultation room.
- Example: 37d0b63d-886d-4a71-875f-2cab61ca8e5e
Contract
The versioned OpenAPI contract is the authoritative source for parameters, request bodies, and response schemas.
Version
1.0.0
Expected response
201 Created