Closed yongyi520 closed 3 years ago
I will update the TypeScript type definitions but the error you are receiving has nothing to do with it. You already specified type
so it can't be blank. TypeScript type definitions do not change what is sent and received.
Make sure you are using the 2021-07
API version.
Issue: When creating new metafield with the new 'type' field,
I get this error:
Solution: Update metafield type Shopify partners has given a notice to update to
https://shopify.dev/api/admin/rest/reference/metafield#index-2021-07
https://shopify.dev/apps/metafields/definitions/types