Skip to main content

Add an item from an encoded search selection

POST 

/api/v1/cart/:cartId/items/encoded

Decodes the encodedId returned on each listing search result (listing, stay dates, guest mix, selected properties, unit quantity and cancellation plan) and adds it as a cart item — no need to repeat those fields. Any of them present on the request body wins over the token. Same idempotent (listingId, checkIn, checkOut) semantics as the regular add.

Request​

Responses​

OK