{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","properties":{"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 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},"rate_access_code":{"description":"The rate access code to be utilised when using this negotiated rate","type":"string","maxLength":16000}},"required":["rate_access_code","display_name","accommodation_ids","chain_id"],"type":"object","maxProperties":100},"deviceIp":{"type":"string","maxLength":45},"deviceUserAgent":{"type":"string","maxLength":1000}},"required":["data"],"additionalProperties":false},"name":"Stays: Creating a negotiated rate","id":"duffel.api.stays.negotiated-rates.create","example":{"data":{"rate_access_code":"DUFFEL","display_name":"2025 Negotiated Rate","chain_id":"chn_0000B6QFxO9EOY5cqw5kYK","accommodation_ids":["acc_0000AWr2VsUNIF1Vl91xg0"]}},"maxRequests":1,"summary":false}}