{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","properties":{"path":{"type":"object","properties":{"id":{"type":"string","minLength":2,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_-]+$"}},"required":["id"],"additionalProperties":false},"data":{"properties":{"accommodation_ids":{"anyOf":[{"description":"The hotel accommodation IDs this negotiated rate is valid for. Mutually exclusive with `chain_id`'","items":{"type":"string","maxLength":16000},"type":"array","maxItems":100},{"type":"null"}]},"chain_id":{"anyOf":[{"description":"The ID of the hotel [chain](/docs/api/v2/chains) this negotiated rate is valid for. Mutually exclusive with `accommodation_ids`","type":"string","maxLength":16000},{"type":"null"}]},"display_name":{"description":"The display name of the negotiated rate","type":"string","maxLength":16000}},"required":["display_name","accommodation_ids","chain_id"],"type":"object","maxProperties":100},"deviceIp":{"type":"string","maxLength":45},"deviceUserAgent":{"type":"string","maxLength":1000}},"required":["path","data"],"additionalProperties":false},"name":"Stays: Update a negotiated rate","id":"duffel.api.stays.negotiated-rates.update","example":{"path":{"id":"resource_fixture"},"data":{"display_name":"2025 Negotiated Rate","chain_id":"chn_0000B6QFxO9EOY5cqw5kYK","accommodation_ids":["acc_0000AWr2VsUNIF1Vl91xg0"]}},"maxRequests":1,"summary":false}}