Back cart with GraphQL storage
This commit is contained in:
18
graphql/operations/cart/add-product-to-cart.graphql
Normal file
18
graphql/operations/cart/add-product-to-cart.graphql
Normal file
@@ -0,0 +1,18 @@
|
||||
mutation AddProductToCart($productId: ID!) {
|
||||
addProductToCart(productId: $productId) {
|
||||
id
|
||||
userId
|
||||
deliveryAddressId
|
||||
items {
|
||||
id
|
||||
productId
|
||||
productName
|
||||
sku
|
||||
isCustomizable
|
||||
quantity
|
||||
parameters
|
||||
updatedAt
|
||||
}
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user