Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

skava / @skava-features/header   js

Repository URL to install this package:

Version: 0.1.7 

/ dist / src / state / cart / queries / AddToBag.graphql.js

import { gql } from 'apollo-boost';
export default gql `
  mutation AddToBag($input: AddToBagInput!) {
    addToBag(input: $input) {
      type
      properties {
        state {
          additionalinfo {
            label
            value
          }
          status
        }
      }
      children {
        products {
          image
          identifier
          name
          type
          properties {
            buyinfo {
              availability {
                instore
              }
              pricing {
                buymoresavemore {
                  minquantity
                  maxquantity
                }
                currencycode
                prices {
                  label
                  type
                  value
                }
              }
              instock
            }
            cartinfo {
              valuesapplied {
                shiptotal
              }
              shippingmethods {
                type
              }
              giftitem
            }
            iteminfo {
              itemid
              categoryids {
                value
              }
              description {
                value
              }
              sku
              additionalinfo {
                label
                value
              }
            }
          }
        }
      }
    }
  }
`;
//# sourceMappingURL=AddToBag.graphql.js.map