Skip to content

List the customer's wishlist (« Favoris »)​

GET
/customers/me/wishlist

The authenticated customer's wishlist as storefront product CARDS — the same shape GET /products returns (ProductListItem), plus addedAt — newest saved first. Shared by the mobile app and web.

Filtered at READ time by the storefront visibility rule (published, actively listed, not a hidden group offer, not a hidden out-of-stock product), so total counts visible items only. A product that goes offline stays saved and reappears when it comes back. Honours X-Channel (group display mode) like /products. Response is Cache-Control: private, no-store.

Auth: Bearer JWT required; allowed realms: customer.

Authorizations​

bearerAuth

Jeton client obtenu par POST /auth/login (ou /auth/register), renouvelé par POST /auth/refresh.

Type
HTTP (bearer)

Parameters​

Header Parameters

X-Channel
Type
string
Valid values
"web""mobile"

Query Parameters

page
Type
integer
Minimum
1
Default
1
limit
Type
integer
Minimum
1
Maximum
100
Default
20

Responses​

One page of visible wishlist products.

application/json
JSON
{
  
"ok": true,
  
"data": {
  
  
"items": [
  
  
  
{
  
  
  
  
"id": "string",
  
  
  
  
"slug": "string",
  
  
  
  
"name": "string",
  
  
  
  
"price": 0,
  
  
  
  
"compareAtPrice": 0,
  
  
  
  
"imageUrl": "https://example.com",
  
  
  
  
"vendorId": "string",
  
  
  
  
"vendorName": "string",
  
  
  
  
"inStock": true,
  
  
  
  
"acceptsOnlineOrders": true,
  
  
  
  
"hasVariants": true,
  
  
  
  
"vendorWhatsapp": "string",
  
  
  
  
"createdAt": "2024-01-01T00:00:00Z",
  
  
  
  
"updatedAt": "2024-01-01T00:00:00Z",
  
  
  
  
"brandSlug": "string",
  
  
  
  
"sale": {
  
  
  
  
  
"endsAt": "2024-01-01T00:00:00Z",
  
  
  
  
  
"startedAt": "2024-01-01T00:00:00Z",
  
  
  
  
  
"soldCount": 0,
  
  
  
  
  
"stockAtStart": 0
  
  
  
  
},
  
  
  
  
"madeInTunisia": true,
  
  
  
  
"rating": {
  
  
  
  
  
"value": 0,
  
  
  
  
  
"count": 0
  
  
  
  
},
  
  
  
  
"soldRecently": true,
  
  
  
  
"regularPrice": 0,
  
  
  
  
"salePrice": 0,
  
  
  
  
"onSale": true,
  
  
  
  
"addedAt": "2024-01-01T00:00:00Z"
  
  
  
}
  
  
],
  
  
"total": 0,
  
  
"page": 0,
  
  
"limit": 0
  
}
}

Playground​

Authorization
Headers
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Tarifs : contactez-nous — contact@marketkit.ai