For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
      • Playground
          • MUTproductUpload
          • MUTproductAnonUpload
          • MUTupdateAccountSettings
          • MUTupdateCustomerAccountSettings
          • MUTinvoicePdf
          • MUTinvoicesExport
          • MUTinvoiceCreateBcCart
          • MUTinvoiceFinishBcPayment
          • MUTcreateOrder
          • MUTshoppingListsCreate
          • MUTshoppingListsUpdate
          • MUTshoppingListsDelete
          • MUTshoppingListsDuplicate
          • MUTshoppingListsItemsCreate
          • MUTshoppingListsItemsUpdate
          • MUTshoppingListsItemsDelete
          • MUTcustomerShoppingListsCreate
          • MUTcustomerShoppingListsUpdate
          • MUTcustomerShoppingListsDelete
          • MUTcustomerShoppingListsDuplicate
          • MUTcustomerShoppingListsItemsCreate
          • MUTcustomerShoppingListsItemsUpdate
          • MUTcustomerShoppingListsItemsDelete
          • MUTquoteCreate
          • MUTquoteUpdate
          • MUTquoteCheckout
          • MUTquoteOrdered
          • MUTquoteEmail
          • MUTquotePdfExport
          • MUTquoteAttachFileDelete
          • MUTquoteAttachFileCreate
          • MUTquoteFrontendPdf
          • MUTsuperAdminBeginMasquerade
          • MUTsuperAdminEndMasquerade
          • MUTcompanyCreate
          • MUTlogin
          • MUTcheckoutLogin
          • MUTauthorization
          • MUTuserCreate
          • MUTuserUpdate
          • MUTuserDelete
          • MUTstoreFrontToken
          • MUTcustomerCreate
          • MUTcustomerSubscribersCreate
          • MUTuserMasqueradingCompanyBegin
          • MUTuserMasqueradingCompanyEnd
          • MUTaddressCreate
          • MUTaddressUpdate
          • MUTaddressDelete
          • MUTcustomerAddressCreate
          • MUTcustomerAddressUpdate
          • MUTcustomerAddressDelete
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLB2BMutations

customerAddressUpdate

Example Query
1mutation ExampleMutation($addressData: CustomerAddressUpdateType) {
2 customerAddressUpdate(addressData: $addressData) {
3 address {
4 id
5 createdAt
6 updatedAt
7 firstName
8 lastName
9 company
10 bcAddressId
11 address1
12 address2
13 city
14 }
15 }
16}
Variables
1{
2 "addressData": {
3 "firstName": "example",
4 "lastName": "example",
5 "company": "example",
6 "address1": "example",
7 "address2": "example",
8 "city": "example",
9 "phone": "example",
10 "stateOrProvince": "example",
11 "countryCode": "example",
12 "postalCode": "example"
13 }
14}
Example response
1{
2 "data": {
3 "customerAddressUpdate": {
4 "address": {
5 "id": "example",
6 "createdAt": 0,
7 "updatedAt": 0,
8 "firstName": "example",
9 "lastName": "example",
10 "company": "example",
11 "bcAddressId": 0,
12 "address1": "example",
13 "address2": "example",
14 "city": "example"
15 }
16 }
17 }
18}
Update a customer address. Requires a BC Token.
Was this page helpful?
Previous

customerAddressCreate

Next

customerAddressDelete

Built with

Arguments

addressDataCustomerAddressUpdateTypeRequired
A customer address object including its id. This field is required.

Returns

an optional CustomerAddressUpdate
addressCustomerAddressType