Add wishlist item
Favorite a variant.
Wishlist
POST
/api/v1/scent/wishlist/{customerRef}/itemsAdds a variant to the customer’s wishlist, identified by the required customerRef path
segment. Idempotent — favoriting an already-favorited variant is a no-op, never a 409.
Returns the updated wishlist.
Path parameters
customerRefstringRequiredThe per-customer cart/registration selector this endpoint operates on (max 128 chars, URL-encoded) — every cart/wishlist/stock-notification endpoint carries it in the path (API Docs Review effort, Phase F/G, D29/R-CUSTOMERREF). Also the value a per-customer redemption cap, if any, is checked against.
Body parameters
variantIdstring (uuid)RequiredThe variant (size/SKU) to add to the wishlist.
Response
itemsarray of objectOther responses
401No bearer token (UNAUTHORIZED_MISSING_TOKEN), an invalid token (UNAUTHORIZED_INVALID_TOKEN) or an expired one (UNAUTHORIZED_TOKEN_EXPIRED — mint a new token). UPSTREAM_AUTH_FAILED is different: a dependent service refused the Gateway itself. That is a server-side fault — retry later and do NOT re-mint your token. See the Errors guide.403The route is not available to your credential (FORBIDDEN).404Unknown or inactive variant.415The request body is not sent as application/json (UNSUPPORTED_MEDIA_TYPE).422The variant has no active source anywhere.429Too many requests — see the Rate limits guide. Retry after the Retry-After header (seconds).502A dependent service returned an invalid response (BAD_GATEWAY). Retry with backoff.503The service is temporarily unavailable (SERVICE_UNAVAILABLE). Retry with backoff.504A dependent service did not respond in time (GATEWAY_TIMEOUT). Retry with backoff.curl --request POST \ --url https://api-omni.linra.net/api/v1/scent/wishlist/value/items \ --header 'Authorization: Bearer $TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "variantId": "5b1e3a1c-9d2e-4f3a-8b1c-9f0a2e3d4c5b" }'const res = await fetch('https://api-omni.linra.net/api/v1/scent/wishlist/value/items', { method: 'POST', headers: { Authorization: `Bearer ${token}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ variantId: '5b1e3a1c-9d2e-4f3a-8b1c-9f0a2e3d4c5b' }),});const { payload } = await res.json();var response = await httpClient.PostAsJsonAsync( "https://api-omni.linra.net/api/v1/scent/wishlist/value/items", new { variantId = "5b1e3a1c-9d2e-4f3a-8b1c-9f0a2e3d4c5b" });
var envelope = await response.Content.ReadFromJsonAsync<ApiResponse<WishlistResponse>>();Response
{ "state": "SUCCESS", "payload": { "items": [ { "variantId": "5b1e3a1c-9d2e-4f3a-8b1c-9f0a2e3d4c5b", "sku": "string", "sizeMl": 0, "scentName": "string", "brandName": "string", "imageUrl": "string", "currentPrice": 0, "availability": { "state": "Available" }, "addedAt": "2026-08-22T09:14:03Z" } ] }, "details": null}
