Get Wishlist Item
About
The wishlist query retrieves a single wishlist item by its IRI identifier. Use this query to:
- Fetch detailed information about a specific wishlist item
- Display wishlist item details on a detail page
- Verify a product exists in the customer's wishlist
Authentication
This query requires customer authentication:
- Authenticated customers: Provide a valid customer authentication token in the
Authorizationheader. Obtain this token via the Customer Login API.
Authorization: Bearer <accessToken>Arguments
| Argument | Type | Description |
|---|---|---|
id | ID! | The IRI of the wishlist item (e.g. /api/shop/wishlists/69). |
Possible Returns
| Field | Type | Description |
|---|---|---|
id | ID! | IRI identifier (e.g. /api/shop/wishlists/69). |
_id | Int! | Numeric identifier. |
product | Product! | Associated product with id, name, price, etc. |
customer | Customer! | Associated customer with id, email. |
channel | Channel! | Associated channel with id, code. |
createdAt | String | Timestamp when the item was added. |
updatedAt | String | Timestamp when the item was last updated. |

