Skip to content

shoppingLists

Queryin Shopping lists

Get paginated list of shopping lists for the current user

Arguments

ArgumentTypeDescription
pageInt!Default 1
pageSizeInt!Default 20

Returns

ShoppingListResult

FieldTypeDescription
items[ShoppingList!]!List of shopping lists returned in the result
paginationPagination!Where this page sits within the full result set

Example

query {
shoppingLists(page: 1, pageSize: 20) {
items {
id
name
description
lineItems {
id
}
}
pagination {
page
pageSize
totalCount
pageCount
hasNextPage
hasPreviousPage
}
}
}

The query is the example the schema documents. The response shows its shape with placeholder values.

Served by

@evolve-framework/commercetoolsResolved
@evolve-framework/medusaResolved
@evolve-framework/sfccResolved

Used by

The storefront packages that send it, in these GraphQL documents: