Unregister stock notify
Cancel a back-in-stock notification registration.
Stock Notify
DELETE
/api/v1/scent/stock-notifications/{customerRef}/{variantId}Removes the given customer’s notify-when-available registration for this variant, if any. Idempotent — a no-op when none exists.
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.
variantIdstring (uuid)RequiredResponse
deletedbooleanOther 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).404No API route matches this path (NOT_FOUND_ROUTE). A missing resource on a real route returns that service’s own NOT_FOUND_* code instead.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 DELETE \ --url https://api-omni.linra.net/api/v1/scent/stock-notifications/value/5b1e3a1c-9d2e-4f3a-8b1c-9f0a2e3d4c5b \ --header 'Authorization: Bearer $TOKEN'const res = await fetch('https://api-omni.linra.net/api/v1/scent/stock-notifications/value/5b1e3a1c-9d2e-4f3a-8b1c-9f0a2e3d4c5b', { method: 'DELETE', headers: { Authorization: `Bearer ${token}`, },});const { payload } = await res.json();var response = await httpClient.DeleteAsync("https://api-omni.linra.net/api/v1/scent/stock-notifications/value/5b1e3a1c-9d2e-4f3a-8b1c-9f0a2e3d4c5b");
var envelope = await response.Content.ReadFromJsonAsync<ApiResponse<object>>();Response
{ "state": "SUCCESS", "payload": { "deleted": true }, "details": null}
