# Basket ## Clear basket - [POST /ClearBasket](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/clearbasket.md): Removes all items from the basket. ## Close basket for post purchases - [POST /CloseBasketForPostPurchaseUpsell](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/closebasketforpostpurchaseupsell.md): Closes the basket for post purchase. ## Create basket - [POST /CreateBasket](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/createbasket.md): Creates a new Basket. ## Delete a basket - [POST /DeleteBasket](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/deletebasket.md): Sets the status of the basket to Deleted. Deleted baskets will not be available in the API. Only normal baskets can be deleted. ## Remove item from basket - [POST /DeleteBasketItem](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/deletebasketitem.md): Remove a specific item/line from a basket ## Delete a saved basket - [POST /DeleteSavedBasket](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/deletesavedbasket.md) ## Get a basket - [GET /GetBasket](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/getbasket.md): Gets a Basket by id. Returns null if not found. ## Insert an item in a basket - [POST /InsertBasketItem](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/insertbasketitem.md) ## Insert several items in a basket - [POST /InsertBasketItems](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/insertbasketitems.md) ## Insert a strucutre item into basket - [POST /InsertBasketItemWithChildren](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/insertbasketitemwithchildren.md): Used to insert a structure article into bakset with calculation of it's children ## Insert items into a basket post purchase - [POST /InsertItemsPostPurchase](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/insertitemspostpurchase.md): Adds the provided items to the already checked out basket and updates the authorization for the payment. Calling this mehtod will close the basket. ## Check if post purchase is possible - [GET /IsPostPurchasePossbile](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/ispostpurchasepossbile.md): Should be called before deciding whether to show post purchase functionality on the redirect page. This call is needed becuase it is not until the purchase is done that we can anwser this. Note that even if we anwser yes here the call to InsertItemsPostPurchase might fail regardless, since the PSP can reject the update even if it should be possible (due to risk assesments etc). ## List baskets by status - [GET /ListBasketsByStatus](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/listbasketsbystatus.md): Returns a paged basket list for specified customer, company or sales contact. ## List basket statuses - [GET /ListBasketStatuses](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/listbasketstatuses.md): Lists the available basket statuses. ## List basket types - [GET /ListBasketTypes](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/listbaskettypes.md): Lists the available basket types. ## List saved baskets for a customer - [GET /ListSavedBaskets](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/listsavedbaskets.md): List saved baskets for a specific customer ## Save a basket - [POST /SaveBasket](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/savebasket.md): Save a initiated basket ## Attest a basket - [POST /SetAttestBasket](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/setattestbasket.md) ## Update a basket (v2) - [POST /UpdateBasket2](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/updatebasket2.md): Updates status, contact, order reference, comment, discount code, currencyCode and sales area. Does not update any customer data. Use UpdateBuyer/UpdatePayer/UpdateShipTo to change customer data for a Basket. ## Update a basket item - [POST /UpdateBasketItem](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/updatebasketitem.md): Updates a BasketItem on the specified basket. Don't propagate quantity updates to child items. Use UpdateBasketItemQuantityWithChildren for updating basket item with child items if you want all child items to follow parent item quantity update. ## Update a structure basket item quantity - [POST /UpdateBasketItemQuantityWithChildren](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/updatebasketitemquantitywithchildren.md): Updates quantity of basket item and multiplies child items quantity so they follow the quantity change of the parent item. ## Update several basket items - [POST /UpdateBasketItems](https://docs.norce.io/api-reference/services/shoppingservice/openapi/basket/updatebasketitems.md): Updates all supplied BasketItems on the specified basket.