mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 23:46:58 +00:00
25 lines
545 B
TypeScript
25 lines
545 B
TypeScript
import {productDetails} from '../fragments/productDetails'
|
|
export const getCustomerWishlistQuery= /* GraphQL */`
|
|
query wishlist($customerId: Int!, $wishlistName: String!) {
|
|
customerWishlist(customerAccountId:$customerId ,wishlistName: $wishlistName){
|
|
customerAccountId
|
|
name
|
|
id
|
|
userId
|
|
items {
|
|
id
|
|
quantity
|
|
total
|
|
subtotal
|
|
unitPrice{
|
|
extendedAmount
|
|
}
|
|
quantity
|
|
product {
|
|
...productDetails
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${productDetails}
|
|
` |