{"componentChunkName":"component---src-templates-redoc-operation-js","path":"/carts/operation/addSelections/","result":{"data":{"contentItem":{"type":"redoc-operation","link":"/carts/operation/addSelections/","data":{"redocStoreStr":"{\"menu\":{\"activeItemIdx\":-1},\"definition\":{\"data\":{\"openapi\":\"3.0.3\",\"info\":{\"version\":\"1.0.17\",\"title\":\"Carts API\",\"description\":\"Cart APIs for external partner integration\",\"contact\":{\"name\":\"Delphi Engineering\",\"url\":\"https://toasttab.com\"},\"termsOfService\":\"https://pos.toasttab.com/api-terms-of-use\"},\"servers\":[{\"url\":\"https://ws-api.toasttab.com\",\"description\":\"Production\"},{\"url\":\"https://ws-preprod-api.eng.toasttab.com\",\"description\":\"Pre-production\"},{\"url\":\"https://ws-sandbox-api.eng.toasttab.com\",\"description\":\"Sandbox\"},{\"url\":\"https://ws-dev-api.eng.toasttab.com\",\"description\":\"Development\"}],\"paths\":{\"/carts/v1/carts\":{\"post\":{\"operationId\":\"createCart\",\"summary\":\"Create new cart\",\"description\":\"Creates a new shopping cart for a Toast location with the specified dining option and WebSocket configuration.\",\"tags\":[\"Carts\"],\"security\":[{\"OAuth2\":[\"drivethru:write\"]}],\"parameters\":[{\"name\":\"Toast-Restaurant-External-ID\",\"in\":\"header\",\"required\":true,\"description\":\"The identifier of the location.\",\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"diningOptionGuid\"],\"properties\":{\"diningOptionGuid\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"The identifier of the dining option.\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"},\"description\":\"Optional metadata for partner integrations. Defaults to empty object {}.\\n\\n**Deprecated keys:** `websocketUrl` and `sharedSecret` are deprecated. Use `websocketConfig` instead.\\n\\n**Validation Rules:**\\n- If `websocketUrl` is provided, it must start with `wss://`\\n- If `websocketUrl` is provided, `sharedSecret` is required\\n\",\"example\":{\"websocketUrl\":\"wss://partner-ai.example.com/transcript/session-abc-123\",\"sharedSecret\":\"temp-secret-for-session-abc-123\"}},\"websocketConfig\":{\"allOf\":[{\"$ref\":\"#/components/schemas/WebSocketConfig\"}],\"description\":\"Optional WebSocket configuration for partner transcript streaming.\"}}}}}},\"responses\":{\"201\":{\"description\":\"Successful operation. Cart created.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/CartResponse\"}}}},\"400\":{\"description\":\"Bad request.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}},\"503\":{\"description\":\"Service temporarily unavailable.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}}}}},\"/carts/v1/carts/{guid}\":{\"get\":{\"operationId\":\"getCart\",\"summary\":\"Get cart by ID\",\"description\":\"Retrieves a shopping cart by its GUID. Returns all cart details including items, pricing, and status.\",\"tags\":[\"Carts\"],\"security\":[{\"OAuth2\":[\"drivethru:read\"]}],\"parameters\":[{\"name\":\"guid\",\"in\":\"path\",\"required\":true,\"description\":\"The identifier of the cart.\",\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"Toast-Restaurant-External-ID\",\"in\":\"header\",\"required\":false,\"description\":\"The identifier of the location.\",\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"responses\":{\"200\":{\"description\":\"Successful operation. Cart details returned.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/CartResponse\"}}}},\"403\":{\"description\":\"Unauthorized access.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}},\"404\":{\"description\":\"Cart not found.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}}}},\"patch\":{\"operationId\":\"updateCart\",\"summary\":\"Update cart fields\",\"description\":\"Updates specific cart fields. Including a `selections` array replaces all items in the cart.\\nReturns cart with updated pricing and any validation problems.\\n\",\"tags\":[\"Carts\"],\"security\":[{\"OAuth2\":[\"drivethru:write\"]}],\"parameters\":[{\"name\":\"guid\",\"in\":\"path\",\"required\":true,\"description\":\"The identifier of the cart.\",\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"Toast-Restaurant-External-ID\",\"in\":\"header\",\"required\":false,\"description\":\"The identifier of the location.\",\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"fields\"],\"properties\":{\"fields\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"selections\",\"status\"]},\"description\":\"List of fields to update.\"},\"selections\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/Selection\"},\"description\":\"Item selections (replaces all items if provided).\"},\"status\":{\"type\":\"string\",\"description\":\"Status of the cart. Only processed if `status` is included in `fields` array.\\nStatus can only be changed when the cart is `ACTIVE`. A cart with a status of `TRANSFERRED` can be transferred again only with a `transferReason` of `STAFF_TAKEOVER`.\\n\",\"enum\":[\"ACTIVE\",\"ABANDONED\",\"FINALIZED\",\"SUBMITTED\",\"TRANSFERRED\"]},\"transferReason\":{\"type\":\"string\",\"nullable\":true,\"description\":\"The reason for cart transfer. Required when status is `TRANSFERRED`.\\n\",\"enum\":[\"STAFF_TAKEOVER\",\"LARGE_ORDER_CONFIRMATION\",\"UNABLE_TO_UNDERSTAND\",\"GUEST_REQUESTED\",\"CART_UPDATE_FAILED\"]}}}}}},\"responses\":{\"200\":{\"description\":\"Successful operation. Cart details updated.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/CartResponse\"}}}},\"403\":{\"description\":\"Unauthorized access.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}},\"404\":{\"description\":\"Cart not found.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}}}}},\"/carts/v1/carts/{guid}/selections\":{\"post\":{\"operationId\":\"addSelections\",\"summary\":\"Add items to cart\",\"description\":\"Adds one or more item selections to the cart.\\nReturns cart with updated pricing and any validation problems.\\n\",\"tags\":[\"Carts\"],\"security\":[{\"OAuth2\":[\"drivethru:write\"]}],\"parameters\":[{\"name\":\"guid\",\"in\":\"path\",\"required\":true,\"description\":\"The identifier of the cart.\",\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"Toast-Restaurant-External-ID\",\"in\":\"header\",\"required\":false,\"description\":\"The identifier of the location.\",\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"selections\"],\"properties\":{\"selections\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/Selection\"},\"description\":\"Menu items to be added to the cart.\"}}}}}},\"responses\":{\"200\":{\"description\":\"Successful operation. Menu item(s) added to cart.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/CartResponse\"}}}},\"403\":{\"description\":\"Unauthorized access.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}},\"404\":{\"description\":\"Cart not found.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}}}},\"patch\":{\"operationId\":\"updateSelections\",\"summary\":\"Update items in cart\",\"description\":\"Updates one or more item selections in the cart by their `externalId`. Send `UpdateSelectionsRequest` with `selections` array\\nto update one or more items. Supports single or multiple items in one request.\\nReturns cart with updated pricing and any validation problems.\\n\",\"tags\":[\"Carts\"],\"security\":[{\"OAuth2\":[\"drivethru:write\"]}],\"parameters\":[{\"name\":\"guid\",\"in\":\"path\",\"required\":true,\"description\":\"The identifier of the cart.\",\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"Toast-Restaurant-External-ID\",\"in\":\"header\",\"required\":false,\"description\":\"The identifier of the location.\",\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/UpdateSelectionsRequest\"},\"example\":{\"selections\":[{\"externalId\":\"item-salad-001\",\"itemGuid\":\"f3539de9-f536-46c0-82a0-7f371038e6c9\",\"itemGroupGuid\":\"61327d23-7ec6-44eb-bafd-84e177b42be8\",\"quantity\":2,\"isComplete\":true}]}}}},\"responses\":{\"200\":{\"description\":\"Successful operation. Menu item(s) updated in cart.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/CartResponse\"}}}},\"403\":{\"description\":\"Unauthorized access.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}},\"404\":{\"description\":\"Cart not found.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}}}}},\"/carts/v1/carts/{guid}/selections/{externalId}\":{\"delete\":{\"operationId\":\"removeSelection\",\"summary\":\"Remove a single item selection from cart\",\"description\":\"Removes a single item selection from the cart by its `externalId`.\\nTo remove multiple items, send a request for each item (one request per `externalId`).\\nReturns cart with updated pricing and any validation problems.\\n\",\"tags\":[\"Carts\"],\"security\":[{\"OAuth2\":[\"drivethru:write\"]}],\"parameters\":[{\"name\":\"guid\",\"in\":\"path\",\"required\":true,\"description\":\"The identifier of the cart.\",\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"externalId\",\"in\":\"path\",\"required\":true,\"description\":\"The partner provided external identifier for the cart item.\",\"schema\":{\"type\":\"string\"},\"example\":\"item-3324232\"},{\"name\":\"Toast-Restaurant-External-ID\",\"in\":\"header\",\"required\":false,\"description\":\"The identifier of the location.\",\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"responses\":{\"200\":{\"description\":\"Successful operation. Cart item removed from cart.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/CartResponse\"}}}},\"403\":{\"description\":\"Unauthorized access.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}},\"404\":{\"description\":\"Cart not found.\",\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Error\"}}}}}}}},\"components\":{\"securitySchemes\":{\"OAuth2\":{\"type\":\"oauth2\",\"flows\":{\"clientCredentials\":{\"tokenUrl\":\"/authentication/v1/authentication/customer/oauth/token\",\"scopes\":{\"drivethru:write\":\"write access\",\"drivethru:read\":\"read access\"}}}}},\"schemas\":{\"Cart\":{\"type\":\"object\",\"properties\":{\"guid\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"The unique identifier of the guest cart.\"},\"diningOptionGuid\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"The identifier of the dining option.\"},\"diningOptionBehavior\":{\"type\":\"string\",\"description\":\"Dining behavior (e.g., DINE_IN, TAKE_OUT, DELIVERY, DRIVE_THRU).\"},\"selections\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/Selection\"}},\"pricedCheck\":{\"allOf\":[{\"$ref\":\"#/components/schemas/PricedCheck\"}],\"type\":\"object\",\"nullable\":true,\"description\":\"Priced totals and selections. `null` when the cart has no selections.\"},\"createdDate\":{\"type\":\"string\",\"format\":\"date-time\",\"description\":\"The date and time the cart was created in ISO 8601 format.\"},\"updatedDate\":{\"type\":\"string\",\"format\":\"date-time\",\"description\":\"The date and time the cart was updated in ISO 8601 format.\"},\"status\":{\"type\":\"string\",\"description\":\"Status of the cart.\",\"enum\":[\"ACTIVE\",\"ABANDONED\",\"FINALIZED\",\"SUBMITTED\",\"TRANSFERRED\"],\"example\":\"ACTIVE\"},\"transferReason\":{\"type\":\"string\",\"nullable\":true,\"description\":\"Reason for cart transfer. Required when status is `TRANSFERRED`.\",\"enum\":[\"STAFF_TAKEOVER\",\"LARGE_ORDER_CONFIRMATION\",\"UNABLE_TO_UNDERSTAND\",\"GUEST_REQUESTED\",\"CART_UPDATE_FAILED\"]}}},\"Selection\":{\"type\":\"object\",\"required\":[\"externalId\",\"itemGuid\",\"itemGroupGuid\"],\"properties\":{\"externalId\":{\"type\":\"string\",\"description\":\"The partner provided external identifier for the cart item.\"},\"itemGuid\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"The GUID of the menu item.\"},\"itemGroupGuid\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"The GUID of item's menu group.\"},\"quantity\":{\"type\":\"number\",\"format\":\"double\",\"minimum\":0,\"exclusiveMinimum\":true,\"default\":1,\"description\":\"Total item quantity.\"},\"unitOfMeasure\":{\"type\":\"string\",\"description\":\"Unit of measure for the menu item.\",\"nullable\":true,\"enum\":[\"NONE\",\"LB\",\"OZ\",\"KG\",\"G\"]},\"specialRequest\":{\"type\":\"string\",\"nullable\":true,\"description\":\"Free-text instruction for this item (e.g. \\\"cut in half\\\"). Returned in the priced\\nresponse as an entry under `modifiers` with a null `itemGuid`.\\n\"},\"specialRequests\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Use instead of `specialRequest` to send multiple special requests for this item, e.g. [\\\"no salt\\\", \\\"on the side\\\"].\"},\"modifierSelections\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/ModifierSelection\"},\"description\":\"Modifiers applied to the item.\"},\"portionModifierSelections\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/PortionModifierSelections\"},\"description\":\"Modifiers applied to configured item portions (e.g. pizza halves).\"},\"openPriceAmount\":{\"type\":\"number\",\"format\":\"double\",\"nullable\":true,\"description\":\"Price for an open item. Required when `openItemName` is set.\"},\"openItemName\":{\"type\":\"string\",\"nullable\":true,\"description\":\"Name for an open item.\"},\"isComplete\":{\"type\":\"boolean\",\"default\":true,\"description\":\"Indicates if the menu item's required modifiers have been specified. If `false`, the cart is incomplete and cannot be submitted.\\n\"}}},\"ModifierSelection\":{\"type\":\"object\",\"required\":[\"itemGuid\",\"optionGroupGuid\"],\"properties\":{\"itemGuid\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"GUID of the modifier option.\"},\"optionGroupGuid\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"GUID of the modifier group the option belongs to (e.g. \\\"Toppings\\\").\"},\"quantity\":{\"type\":\"number\",\"format\":\"double\",\"minimum\":0,\"exclusiveMinimum\":true,\"default\":1,\"description\":\"Total modifier quantity.\"},\"unitOfMeasure\":{\"type\":\"string\",\"description\":\"Unit of measure for the menu item.\",\"nullable\":true,\"enum\":[\"NONE\",\"LB\",\"OZ\",\"KG\",\"G\"]},\"preModifierGuid\":{\"type\":\"string\",\"format\":\"uuid\",\"nullable\":true,\"description\":\"GUID of the pre-modifier (e.g. \\\"NO\\\", \\\"EXTRA\\\") applied to the option.\"},\"modifierSelections\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/ModifierSelection\"},\"description\":\"List of modifiers.\"},\"specialRequest\":{\"type\":\"string\",\"nullable\":true,\"description\":\"Free-text instruction for this modifier. Returned in the priced response as an\\nentry under `modifiers` with a null `itemGuid`.\\n\"},\"specialRequests\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Use instead of `specialRequest` to send multiple special requests for this modifier, e.g. [\\\"no salt\\\", \\\"on the side\\\"].\"}}},\"PortionModifierSelections\":{\"type\":\"object\",\"required\":[\"portionGuid\"],\"properties\":{\"portionGuid\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"GUID of the portion (e.g. left half) from the item's menu configuration.\"},\"modifierSelections\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/ModifierSelection\"}}}},\"PricedCheck\":{\"type\":\"object\",\"description\":\"Pricing details for a cart's selections.\",\"properties\":{\"totalAmount\":{\"type\":\"number\",\"format\":\"double\",\"description\":\"Order total, including tax.\",\"example\":10},\"selections\":{\"type\":\"array\",\"description\":\"One priced selection per complete selection on the cart.\",\"items\":{\"$ref\":\"#/components/schemas/PricedSelection\"}}}},\"PricedSelection\":{\"type\":\"object\",\"properties\":{\"externalId\":{\"type\":\"string\",\"nullable\":true,\"description\":\"External identifier for the item.\",\"example\":\"classic-burger\"},\"itemGuid\":{\"type\":\"string\",\"format\":\"uuid\",\"nullable\":true,\"description\":\"GUID of the menu item. `null` on the special-request entries under `modifiers`, which carry a description rather than a menu item.\",\"example\":\"5721d877-1938-4125-b684-3c765cc068d1\"},\"price\":{\"type\":\"number\",\"format\":\"double\",\"description\":\"The price for the menu item selection, excluding tax.\",\"example\":10},\"quantity\":{\"type\":\"number\",\"format\":\"double\",\"example\":1,\"description\":\"Total item quantity.\"},\"modifiers\":{\"type\":\"array\",\"description\":\"Priced modifiers.\",\"items\":{\"$ref\":\"#/components/schemas/PricedSelection\"}}}},\"WebSocketConfig\":{\"type\":\"object\",\"description\":\"WebSocket configuration for partner transcript streaming. Connects the Advanced Order Confirmation Screen to a partner's WebSocket for real-time transcripts.\",\"required\":[\"url\"],\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"WebSocket URL. Must use the secure `wss://` protocol.\",\"example\":\"wss://partner-ai.example.com/transcript/session-abc-123\"},\"secret\":{\"type\":\"string\",\"description\":\"The integration partner-provided secret for the WebSocket URL.\",\"example\":\"temp-secret-for-session-abc-123\"},\"authMethod\":{\"type\":\"string\",\"description\":\"How the Order Confirmation Screen authenticates to the WebSocket endpoint. Defaults to BEARER_TOKEN.\",\"enum\":[\"BEARER_TOKEN\",\"QUERY_PARAM\",\"CUSTOM_HEADER\",\"NO_AUTH\"],\"default\":\"BEARER_TOKEN\"}}},\"Error\":{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\",\"description\":\"Error message.\"}}},\"UpdateSelectionsRequest\":{\"type\":\"object\",\"required\":[\"selections\"],\"properties\":{\"selections\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/Selection\"},\"minItems\":1,\"description\":\"List of item selections to update in the cart.\"}}},\"CartResponse\":{\"type\":\"object\",\"properties\":{\"cart\":{\"$ref\":\"#/components/schemas/Cart\"},\"problems\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"}}}}}}}}}},\"options\":{\"hideTryItPanel\":true,\"pagination\":\"item\",\"generateCodeSamples\":{\"languages\":[{\"lang\":\"curl\"},{\"lang\":\"Java\"},{\"lang\":\"Python\"},{\"lang\":\"Node.js\"},{\"lang\":\"C#\"}]},\"showConsole\":false,\"hideHostname\":true,\"hideDownloadButton\":false,\"sortPropsAlphabetically\":true,\"schemaDefinitionsTagName\":\"Data definitions\",\"showAccessMode\":true,\"downloadDefinitionUrl\":\"https://doc.toasttab.com/toast-api-specifications/toast-drivethru-carts-api.yaml\",\"disableSearch\":true,\"ctrlFHijack\":false,\"disableSidebar\":true,\"theme\":{\"overrides\":{\"DownloadButton\":{\"custom\":\"\"},\"NextSectionButton\":{\"custom\":\"\"}},\"codeBlock\":{\"tokens\":{}},\"schema\":{\"constraints\":{},\"examples\":{}},\"rightPanel\":{\"textColor\":\"#eeeeee\"},\"typography\":{\"heading1\":{},\"heading2\":{},\"heading3\":{},\"rightPanelHeading\":{}}}}}","redocHasSecurityDefinitions":false,"redocInfoPageLink":"/carts/overview/","redocItemId":"tag/Carts/operation/addSelections","redocHasInfoPage":false,"settings":{"generateCodeSamples":{"languages":[{"lang":"curl"},{"lang":"Java"},{"lang":"Python"},{"lang":"Node.js"},{"lang":"C#"}]},"showConsole":false,"hideHostname":true,"hideDownloadButton":false,"sortPropsAlphabetically":true,"schemaDefinitionsTagName":"Data definitions","hideTryItPanel":true,"showAccessMode":true,"downloadDefinitionUrl":"https://doc.toasttab.com/toast-api-specifications/toast-drivethru-carts-api.yaml"},"requestLogin":false,"lastModified":"2026-11-13T18:27:37.000Z"},"seo":{"title":"Add items to cart"}}},"pageContext":{"id":"227a3ca0-42b4-593c-be2d-a72261c02d67operation/addSelections__redocly content/carts/operation/addSelections/","seo":{"title":"Add items to cart","description":"Adds one or more item selections to the cart.\nReturns cart with updated pricing and any validation problems.\n","image":"","keywords":null,"jsonLd":null,"lang":null},"pageId":"carts.reference.page.yaml#operation/addSelections","pageBaseUrl":"/carts","type":"redoc-operation","toc":{"enable":true,"maxDepth":4,"headings":null},"data":{},"catalogInfo":null,"link":"/carts/operation/addSelections/","sidebarName":"api-reference","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":[{"definitionId":"carts","id":"carts","title":"carts","isDefault":true,"apiId":null}],"apiVersionId":null,"isDefaultApiVersion":true}},"staticQueryHashes":["1123603147","1180902673","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3743992808","561138138"]}