Hey @awwdam I’m also having an issue with the customerUpdate endpoint when trying to update an address. If i send all empty strings it works and updates the default address of the Customer, but once I try to send interpolated data, the mutation runs successfully, however it does not update the Customer object and returns an empty array for addresses
{
input: {
id: `gid://shopify/Customer/${data.id}`,
addresses: [
{
address1: `${data.address1}`,
address2: `${data.address2}`,
city: `${data.city}`,
company: "",
countryCode: `${data.country_code}`,
firstName: `${data.first_name}`,
lastName: `${data.last_name}`,
provinceCode: `${data.province_code}`,
zip: `${data.zip}`
}
]
}
}
response of the customer object:
{
id: 'gid://shopify/Customer/CUSTOMER_ID',
firstName: 'firstName',
lastName: 'lastName',
defaultAddress: null,
addresses: []
}
*using graphql-request library