Carts

Add Line

post/carts/{cart_id}/stays/{stay_id}/lines

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/carts/{cart_id}/stays/{stay_id}/lines
  • Auth: none declared

Path parameters

cart_idinteger required
stay_idinteger required

Headers

authorizationstring nullable
Idempotency-Keystring nullable
API-Version'1'

Major API version. Omit or send 1 for the current v1 surface. Retired operations use RFC 9745 Deprecation and RFC 8594 Sunset headers.

Cookies

tp_cartstring nullable

Request body

room_type_idinteger required
check_instring date nullable

Optional compatibility field; defaults to the stay check-in.

check_outstring date nullable

Optional compatibility field; defaults to the stay check-out.

adultsinteger
childreninteger
infantsinteger
lead_guest_overrideobject nullable
special_requestsstring nullable

Response

Successful Response

cart_tokenstring nullable

Plaintext cart token — returned ONCE on create and link-user.

Changes

No recorded changes to this operation across all 1 revision of this API.