Edit in GitHubLog an issue

wishlist query

Use the wishlist query to retrieve information about a customer's wish list. Authorization tokens describes how to supply an authorization token for a specific customer.

Syntax

wishlist: WishlistOutput

Reference

The wishlist reference provides detailed information about the types and fields defined in this query.

Example usage

The following query returns the customer's wish list:

Request:

Copied to your clipboard
{
wishlist {
items_count
name
sharing_code
updated_at
items {
id
qty
description
added_at
product {
sku
name
}
}
}
}

Response:

Copied to your clipboard
{
"data": {
"wishlist": {
"items_count": 2,
"name": "Wish List",
"sharing_code": "KAXDj0HlM7Y2s58mllsVhSJvRj4fWIZj",
"updated_at": "2019-02-13 22:47:45",
"items": [
{
"id": 1,
"qty": 1,
"description": "My first priority",
"added_at": "2019-02-20 14:38:02",
"product": {
"sku": "MJ09",
"name": "Taurus Elements Shell"
}
},
{
"id": 2,
"qty": 1,
"description": null,
"added_at": "2019-02-20 14:38:28",
"product": {
"sku": "MSH11",
"name": "Arcadio Gym Short"
}
}
]
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.