A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi Shopify experts,
I'm trying to create options and variants for product using GraphQL API.
Always I'm getting
LINKED_METAFIELD_DEFINITION_NOT_FOUND
error.
Creating Products:
While Creating the product, I'm sending following info in variables:
Hi there
Before creating your product with product options, have you checked the definitions of your metafields by using GraphQL queries to determine if they exist?
query {
metafieldDefinitions(first: 250, ownerType: PRODUCT) {
edges {
node {
name
namespace
key
type {
name
}
}
}
}
}