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:

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:

REST API reference

Method
URL
Description
Role resource
GET
/V1/customers/:customerId/wishlists
Retrieve the customer's wish lists
Magento_Cart::manage
GET
/V1/customers/:customerId/wishlists/:wishlistId/items
Retrieve the items in a wish list
Magento_Cart::manage
data-variant=info
data-slots=text
Commerce omits a field from the REST response when its value is 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"
  }
]
Field
Type
Description
wishlist_id
int
The ID of the wish list.
name
string
The name of the wish list. Omitted for a wish list that was never named, usually the default one.
is_default
boolean
Whether this is the customer's default wish list.
items_count
int
The number of items in the wish list.
updated_at
string
The time of the last update, in UTC (Y-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:

Parameter
Type
Description
Required
searchCriteria[pageSize]
int
The number of items per page, from 1 to 100. Defaults to 20.
No
searchCriteria[currentPage]
int
The page number, starting from 1. Defaults to 1. A page past the last one returns no items.
No

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
}
Field
Type
Description
item_id
int
The ID of the wish list item.
wishlist_id
int
The ID of the wish list.
product_id
int
The ID of the product. For a configurable product, the ID of the parent product.
sku
string
The product SKU. Omitted when the product no longer exists.
name
string
The product name in the store view of the item. Omitted when the product no longer exists.
product_type
string
The product type ID. Omitted when the product no longer exists.
qty
float
The quantity saved on the wish list.
description
string
The customer's comment on the item.
added_at
string
The time the item was added, in UTC (Y-m-d H:i:s).
store_id
int
The ID of the store view where the item was added.
product_option
object
The saved product options. Omitted when the item has no options.
status
string
The availability status of the item. See the following status table.
status_message
string
The reason for any status other than available.

The status field returns one of the following values:

Status
Description
available
The item can be added to a cart as returned.
requires_configuration
Options must be selected or re-entered before the item can be added to a cart. For example, a configurable product has no selected variant, a required custom option is missing, or a saved value cannot be passed to the cart item API. Saved values that cannot be passed include date, time, and file custom options, and fractional or out-of-range bundle and grouped product quantities.
product_unavailable
The product no longer exists, is disabled, or is no longer assigned to the website. The item is still returned so that you can review it.

When 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:

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

Status code
Condition
Error message
401
The caller is not an admin user or integration, or lacks the Magento_Cart::manage resource
The consumer isn't authorized to access Magento_Cart::manage.
400
The request uses the Store: all header
A store view is required to read wish lists. Send a store view code in the "Store" header, e.g. "Store: default".
400
Wish lists are disabled for the website
Wish lists are disabled for website <websiteId>. Enable wish lists in the website's Wish List configuration and try again.
400
searchCriteria[pageSize] is not from 1 to 100
Invalid page size <pageSize>. Use a page size from 1 to 100.
400
searchCriteria[currentPage] is less than 1
Invalid page <currentPage>. Use a page number of 1 or more.
400
The request includes filters
Filtering wish list items isn't supported. Remove "searchCriteria[filterGroups]" and try again.
400
The request includes sort orders
Sorting wish list items isn't supported. Remove "searchCriteria[sortOrders]" and try again.
404
The customer does not exist, or belongs to another website
No such entity with customerId = <customerId>
404
The wish list does not exist, belongs to another customer, or is not the default wish list while multiple wish lists are disabled
No such entity with wishlistId = <wishlistId>