GraphQL: Update one address field using MailingAddressInput

New Member
4 0 0



I am using MailingAddressInput to update one field in address. For example, if I only specify "address1" in the payload, the other fields will lost. Semmes like it assumes the fields that are not specified to be empty. I am wondering  if it's possible to only update the specified field and keeps the other fields as they were?

Sample Payload:

"query":"mutation customerUpdate($input: CustomerInput!) { customerUpdate(input: $input) { customer { id } userErrors { field message } } }",
"address1":"15 queens XX",