Using cURL Command To Add Metaobject Entries (GraphQL Admin API)

Hi @arieswen415 ,

Looking back at the original post where you mentioned that the most basic product query wasn’t working, using that first test command for a few product id’s works normally here as provided just copying and pasting and filling in the missing info.

This indicates that there’s something different about either your version of curl or the system it’s running on leading to the unexpected behaviour so taking a closer look at that is recommended - this is beyond our direct scope of support so perhaps the community will have further ideas. To give you some frame of reference the system here being tested on is using curl 7.88.1 released Feb. 20, 2023.

As far as format of the query, [the official GraphQL API doc example for curl] does not include the “query” part at the beginning, like that initial example you shared, which seems like a good base to continue troubleshooting from.

Hope you have a great day,
Jon551