Checkout Form Not Populating Company Field for Certain Countries, mutation cartBuyerIdentityUpdate

Topic summary

Issue: Using Shopify’s GraphQL API (version 2024-07) with the cartBuyerIdentityUpdate mutation to set company and delivery address fields updates correctly for BG, HR, CZ, DK, FR, DE, HU, PL, SE, but fails to populate in the checkout for PT, RO, IE, IT, and ES.

Details: The mutation executes without userErrors, and the buyerIdentity deliveryAddressPreferences (MailingAddress) shows the company and country values returned by the API. Despite this, the checkout form does not display the company field—and other delivery fields—for the listed countries.

Technical context: cartBuyerIdentityUpdate updates cart buyer identity (email, countryCode) and deliveryAddressPreferences with a MailingAddress (e.g., company, country). A code snippet of the mutation is provided.

Evidence: Screenshots are included showing the API response containing company data and the checkout UI where the company field remains empty for affected countries.

Status: No cause or fix identified in the thread. The issue remains open with no resolution or action items reported.

Summarized with AI on December 16. AI used: gpt-5.

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.