Dave_Pelletier
Shopify Staff (Retired)
Last Activity: Mar 16 17:04:31
Topic Started
0
Topics Started
Topic Solutions
3
Solutions
Post Count
27
Posts
Post Kudos
5
Likes

Community Badges

No content to show

User Activity

Hi Louise! To delete a metafield you need to use a different mutation called metafieldDelete: https://shopify.dev/api/admin-graphql/2021-10/mutations/metafieldDelete
You are correct that you'll still be able to use the old json_string, string, and integer types with the new type field. We do encourage you to migrate to json, single_line_text_field, multi_line_text_field, or number_integer if you can. You'll have ...
Hi Jake, Your description of the deprecation and upgrade process is correct, with one change. We decided to delay the removal of value_type until 2022-01. It's still deprecated in 2021-10. Going forward you should use json instead of json_string. You...
Hi, You need to use the resourceId for the translated metafield value ("gid://shopify/Metafield/1234567890") in a new query for the Metafield object. If you ask for the owner field on that Metafield you'll get back the Product object. https://shopify...
Here's the best starting point for Metafields docs: https://shopify.dev/apps/metafields Here is the list of types: https://shopify.dev/apps/metafields/definitions/types  
This query works for me on the 2021-10 version of the GraphQL Admin API. Is this what you're looking for?   { product(id: "gid://shopify/Product/YOUR_PRODUCT_ID") { metafield(namespace: "my_fields", key: "image") { reference { ......
Hi! Starting next Friday (Oct 1) with the release of the 2021-10 API version you'll be able to query a new reference field on the Metafield object. You can see it in the dev docs for the 2021-10 version here: https://shopify.dev/api/admin-graphql/202...
Hi Sankeerthana, I can't give an exact timeline but we're working on addressing this issue for all resource endpoints as soon as possible. Once the fix is live, value_type will be properly deprecated for all endpoints that set metafields.
Hi Sankeerthana, can you please take a look at this thread: https://community.shopify.com/c/Shopify-APIs-SDKs/AdminAPI-REST-Reference-New-type-property-in-the-metafields-and/m-p/1241344#M69543
Can you please take a look at this thread, I think you are seeing the same issue: https://community.shopify.com/c/Shopify-APIs-SDKs/AdminAPI-REST-Reference-New-type-property-in-the-metafields-and/m-p/1241344#M69543
Can you please take a look at this thread, I think you are seeing the same issue: https://community.shopify.com/c/Shopify-APIs-SDKs/AdminAPI-REST-Reference-New-type-property-in-the-metafields-and/m-p/1241344#M69543
Thanks for that clarification! I see what you mean now. You are correct that this is missing from the 2021-07 version for the products.json endpoint. If you'd like to use the new type system for Metafields that was released with 2021-07, you have two...
You are correct that the new type property is only available in 2021-07, the most recent version of the API. Older API versions are locked when they are released and do not change. If you use an older version of the API (before 2021-07) you need to u...
Sorry for the confusion! We'll be updating each of those pages that Jake linked to make the situation more clear. Here's what you need to know about this transition: The `type: String` field is replacing the old `value_type: MetafieldValueType` field...
Thanks for the clarification Tarun. We do not currently support adding iframe allow attributes for embedded apps.
This widget could not be displayed.
This widget could not be displayed.