App reviews, troubleshooting, and recommendations
While using the cartBuyerIdentityUpdate mutation in Shopify's API (GraphQL version 2024-07) to pass the company name, the company field is correctly updated for countries like BG, HR, CZ, DK, FR, DE, HU, PL, and SE. However, for countries PT, RO, IE, IT, and ES, the company name is not being populated in the checkout form, even though the mutation executes without errors.
Mutation Example:
mutation { cartBuyerIdentityUpdate( cartId: "$cartid", buyerIdentity: { email: "$b2bemail", countryCode: $country, deliveryAddressPreferences: { deliveryAddress: { company: "$company", country: "$country" } } } ) { cart { id buyerIdentity { deliveryAddressPreferences { ... on MailingAddress { id country company } } } } userErrors { field message } } }
Although no errors are returned by the API, the issue persists for the specified countries, affecting not only the company field but also the other delivery fields in the checkout form.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025