POST/api/v1/s2s/pharmacy/rooms/{roomId}/schedule-changes

Change the weekly hours of a room from a date

Published Partner endpoint from the stable OpenAPI 1.10.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/{roomId}/schedule-changes
Authentication
X-API-Key

Request

Parameters

roomIdstring (uuid)pathRequired
Pharmacy consultation room identifier.
Example: ac7515a2-0cf6-4f73-b20b-3b96f3c97c9d
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
effectiveFromstring (date)Required
First date of the new weekly schedule (today or later, within the planning horizon).
Example: 2026-11-02
impactVersionstring
SHA-256 impact version from a preview or a previous response. Optional for partners: without it the write proceeds; a stale value yields 409 ROOM_CALENDAR_IMPACT_STALE.
Example: 00fa1de975d61372e9fb9919cdd0b999e2b5e301795a6ab403e2692b5bfe6162
windowsarrayRequired
Complete new weekly list (0 to 42 windows). An empty list means no opening hours from that date.
windows[].dayOfWeekintegerRequired
0 Sunday to 6 Saturday.
Example: 1
windows[].endstringRequired
Window end, HH:mm, after start.
Example: 12:00
windows[].startstringRequired
Window start, HH:mm.
Example: 08:00

Contract

The versioned OpenAPI contract is the authoritative source for parameters, request bodies, and response schemas.

Version

1.10.0

Expected response

201 Created

Download OpenAPI 1.10.0