graycoreio/daffodil

View on GitHub
libs/customer/driver/magento/src/queries/update-customer-address.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { gql } from 'apollo-angular';

import { magentoCustomerAddressFragment } from './fragments/public_api';

export const updateCustomerAddress = gql`
  mutation MagentoUpdateCustomerAddress($id: Int!, $input: CustomerAddressInput!) {
    updateCustomerAddress(id: $id, input: $input) {
      ...magentoCustomerAddress
    }
  }
  ${magentoCustomerAddressFragment}
`;