🛒
Carts
6 endpointsSample shopping cart data, including cart items, quantities, prices, and user IDs — ideal for testing checkout and cart management features.
On this page
GET https://dummyapi.codesmash.in/api/carts
?limit?skip
ℹ️
Pagination — By default you will get 30 items. Use
?limit and ?skip to paginate through all items. Max limit is 200.?limit=10Number of items to return (default: 30, max: 200)?skip=10Number of items to skip (default: 0)GET https://dummyapi.codesmash.in/api/carts/:id
GET https://dummyapi.codesmash.in/api/carts/user/:id
POST https://dummyapi.codesmash.in/api/carts
PUT https://dummyapi.codesmash.in/api/carts/:id
DELETE https://dummyapi.codesmash.in/api/carts/:id