| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- import { gql } from "@apollo/client";
- export const CREATE_MERGE_CART = gql`
- mutation createMergeCart(
- $cartId: Int!
- ) {
- createMergeCart(
- input: {
- cartId: $cartId
- }
- ) {
- mergeCart {
- id
- itemsQty
- taxAmount
- subtotal
- shippingAmount
- grandTotal
- paymentMethod
- paymentMethodTitle
- selectedShippingRate
- selectedShippingRateTitle
- items {
- edges {
- node {
- id
- cartId
- productId
- name
- price
- baseImage
- sku
- quantity
- type
- productUrlKey
- canChangeQty
- }
- }
- }
- }
- }
- }
- `;
|