cURL
curl --request POST \ --url https://v3.minestorecms.com/api/cart/setSelectedServer/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "server_id": 456 }'
{ "success": true }
Associates a selected server with a specific item in the user’s cart. Ensures the selected server is valid for the item.