API documentation examples input [object Object]

Topic summary

Issue: In the Shopify Admin GraphQL API docs, some mutation example “Input variables” sections display the placeholder text “input: [object Object]” instead of the expected structured input.

Affected example: productCreate mutation (version 2022-07), specifically the example titled “Create a new metafield on a new product.”

Scope: Similar behavior is observed across other pages in the Products and Collections section; other sections have not been checked.

Status: No confirmation, fix, or workaround is reported in the discussion. The issue remains open/ongoing with unclear extent beyond the noted sections.

Summarized with AI on February 10. AI used: gpt-5.

The GraphQL Admin API documentation seems off. If I view documentation for some mutations, in the examples section under input variables I see “input: [object Object]”.

Specifically this page:

https://shopify.dev/api/admin-graphql/2022-07/mutations/productCreate#examples-Create_a_new_metafield_on_a_new_product

I have viewed some other pages in the Products and Collections section and they seem to have the same problem.

Haven’t checked other pages.