Shopify multiple metafield update at one api call

Topic summary

A developer is attempting to update multiple product metafields in Shopify through a single API call but receives a 400 bad request error. They’ve tried various parameter structures including arrays of metafield objects with namespace, key, value, and type properties.

Current Status:

  • Single metafield updates work successfully
  • Multiple metafield updates in one request fail
  • Tested approaches include different JSON structures and both POST/PUT methods

Resolution:
A respondent confirms that Shopify’s API does not support updating multiple metafields simultaneously. Each metafield requires a separate API call.

Related Question:
Another user asks whether it’s possible to create multiple metafields with the same key, though this remains unanswered.

Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

Hi,

Is it possible to create multiple meta fields with the same key?

your help would be appreciated!!.