Cart
List my carts
GET
/api/v1/cartLists every non-empty cart the buyer has — one per shop they've added items from.
Requires Authorization
Session
Request
curl --request GET \
--url https://api.swiftgoma.com/api/v1/cart \
--header 'Authorization: Bearer <access_token>'200Example response
{
"success": true,
"data": [
{
"id": "cart_9f8e7d",
"shopId": "shop_2b3c4d",
"buyerId": "3f2a1c9e",
"currency": "USD",
"items": [
{
"id": "item_1a2b3c",
"variantId": "var_4d5e6f",
"productName": "Riz parfumé 25kg",
"quantity": 2,
"unitPrice": "12.50"
}
],
"subtotal": "25.00"
}
]
}