Add a product or variant to the authenticated shopper’s wishlist.
| 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. |
| Field | Type | Required | Description |
|---|---|---|---|
productId | string | Yes | Product identifier to add to wishlist. |
variantId | string | No | Variant identifier. Include it to add a specific variant. |
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.
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.