Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I,m trying to get retrieve my cart data using storefront Graphql api. But It qave me valid call, parameters. Please any one help how i can get fetch retrive cart data. I,m using storefront graphql api which code is below: It gave me error like invalid parameters.
`cart(id:"Z2lkOi8vc2hvcGlmeS9DYXJ0L2QzNTNhODQxYjQ1Y2VmYjY3ZTQ1NjdiZGUzMzU4MjFh") {
id
createdAt
updatedAt
lines(first:10) {
edges {
node {
id
quantity
merchandise {
... on ProductVariant {
id
}
}
attributes {
key
value
}
}
}
}
attributes {
key
value
}
estimatedCost {
totalAmount {
amount
currencyCode
}
subtotalAmount {
amount
currencyCode
}
totalTaxAmount {
amount
currencyCode
}
totalDutyAmount {
amount
currencyCode
}
}
buyerIdentity {
email
phone
customer {
id
}
countryCode
}
}
}`