Add item to wishlist
Add a product, food, or service item to the authenticated shopper’s wishlist.
Request
Headers
| Header | Type | Description |
|---|---|---|
Authorization | string | Provide the customer token as Bearer <jwt>. |
x-shop-id | string | Identify the shop that owns the wishlist. |
Content-Type | string | Always set to application/json. |
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
productId | string | No | Product identifier (ecommerce). Provide exactly one of productId, foodId, or serviceId. |
foodId | string | No | Food item identifier (restaurant stores). |
serviceId | string | No | Service identifier (business stores). |
variantId | string | No | Variant identifier. Only valid for product wishlist items. |
product, a food item returns food (with a foodId field), and a service item returns service (with a serviceId field).Successful response
Error response
Authorizations
JWT issued by the Salesive Store API for authenticated shoppers.
Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.
Body
- Option 1
- Option 2
- Option 3
Add a product, food, or service item to the wishlist. Provide exactly one of productId, foodId, or serviceId.
Product identifier to add to wishlist (ecommerce stores).
Food item identifier to add to wishlist (restaurant stores).
Service identifier to add to wishlist (business stores).
Optional variant identifier (product wishlist items only).

