curl --request POST \
--url https://storekit.samarthh.me/v1/store/{storeId}/cart \
--header 'Content-Type: application/json' \
--data '
{
"productId": "550e8400-e29b-41d4-a716-446655440000",
"quantity": 2
}
'Add a product to the cart with specified quantity. If product already exists, quantity will be increased. Requires store user authentication.
curl --request POST \
--url https://storekit.samarthh.me/v1/store/{storeId}/cart \
--header 'Content-Type: application/json' \
--data '
{
"productId": "550e8400-e29b-41d4-a716-446655440000",
"quantity": 2
}
'