data-src=/_includes/saas-only.md
Customer wish lists
The customer wish list endpoints let admins and integrations read a customer's wish lists without customer credentials or impersonation in Adobe Commerce as a Cloud Service.
These endpoints are designed for:
- Custom order creation applications that show a customer's wish lists to customer service representatives
- Integrations that add wish list items to a cart on behalf of a customer
The endpoints are read-only. Reading a wish list never creates or changes it, and adding a returned item to a cart does not remove it from the wish list.
Authentication
All endpoints require an admin or integration bearer token. The admin user role or integration must have the Magento_Cart::manage resource. Requests with a customer token are rejected, even for the customer's own wish lists.
Website and store context
The website comes from the store view of the request. Send the store view code in the Store header, for example Store: default. If you omit the header, Commerce uses the default store view. A request with Store: all is rejected because it has no website. Store code URL prefixes, such as /rest/<store_code>/V1/..., are not supported.
The website context scopes the results:
- Customers - When customer accounts are shared per website, a customer of another website is reported as not found.
- Items - Only items added in a store view of the website are returned and counted.
- Configuration - Wish lists must be enabled for the website.
REST API reference
/V1/customers/:customerId/wishlistsMagento_Cart::manage/V1/customers/:customerId/wishlists/:wishlistId/itemsMagento_Cart::managedata-variant=info
data-slots=text
null.Retrieve wish lists
GET /V1/customers/:customerId/wishlists returns the customer's wish lists, ordered by wishlist_id. The default wish list, which is the customer's oldest, is first. A customer without wish lists returns an empty array.
When multiple wish lists are disabled for the website, the endpoint returns only the default wish list, even if the customer has other wish lists. The following examples assume that multiple wish lists are enabled.
Response (200):
[
{
"wishlist_id": 7,
"is_default": true,
"items_count": 3,
"updated_at": "2026-11-01 10:00:00"
},
{
"wishlist_id": 9,
"name": "Office",
"is_default": false,
"items_count": 0,
"updated_at": "2026-11-02 08:30:00"
}
]
wishlist_idnameis_defaultitems_countupdated_atY-m-d H:i:s).Retrieve wish list items
GET /V1/customers/:customerId/wishlists/:wishlistId/items returns a page of items in a wish list, ordered by added_at and then item_id, newest first.
Query parameters:
searchCriteria[pageSize]20.searchCriteria[currentPage]1. A page past the last one returns no items.Filters and sort orders are not supported and are rejected.
The following example returns the first 20 items in wish list 7:
GET /V1/customers/42/wishlists/7/items?searchCriteria[pageSize]=20&searchCriteria[currentPage]=1
Response (200):
{
"items": [
{
"item_id": 31,
"wishlist_id": 7,
"product_id": 120,
"sku": "MJ01",
"name": "Jacket",
"product_type": "configurable",
"qty": 2,
"added_at": "2026-11-01 10:00:00",
"store_id": 1,
"product_option": {
"extension_attributes": {
"configurable_item_options": [
{
"option_id": "93",
"option_value": 52
}
]
}
},
"status": "available"
}
],
"search_criteria": {
"page_size": 20,
"current_page": 1
},
"total_count": 1
}
item_idwishlist_idproduct_idskunameproduct_typeqtydescriptionadded_atY-m-d H:i:s).store_idproduct_optionstatusstatus_messagestatus other than available.The status field returns one of the following values:
availablerequires_configurationproduct_unavailableWhen a product is deleted from the catalog, Commerce also deletes its wish list items. Those items are not returned or counted.
Add a wish list item to a cart
The product_option object uses the same format as the cartItem.product_option object of POST /V1/carts/:cartId/items. It can contain the following:
custom_optionsconfigurable_item_optionsbundle_optionsdownloadable_optiongiftcard_item_optiongrouped_options
To add an available item to a cart, pass its sku, qty, and product_option values:
Request body:
{
"cartItem": {
"quote_id": 26,
"sku": "MJ01",
"qty": 2,
"product_option": {
"extension_attributes": {
"configurable_item_options": [
{
"option_id": "93",
"option_value": 52
}
]
}
}
}
}
The wish list endpoints do not check stock or return prices, images, or the SKU and name of the selected variant. Retrieve this data from the catalog, for example with GET /V1/products/:sku, or read it from the cart after you add the item.
Error handling
401Magento_Cart::manage resourceThe consumer isn't authorized to access Magento_Cart::manage.400Store: all headerA store view is required to read wish lists. Send a store view code in the "Store" header, e.g. "Store: default".400Wish lists are disabled for website <websiteId>. Enable wish lists in the website's Wish List configuration and try again.400searchCriteria[pageSize] is not from 1 to 100Invalid page size <pageSize>. Use a page size from 1 to 100.400searchCriteria[currentPage] is less than 1Invalid page <currentPage>. Use a page number of 1 or more.400Filtering wish list items isn't supported. Remove "searchCriteria[filterGroups]" and try again.400Sorting wish list items isn't supported. Remove "searchCriteria[sortOrders]" and try again.404No such entity with customerId = <customerId>404No such entity with wishlistId = <wishlistId>