I use:
var mutationCreate = @"
mutation($input: ProductInput!) {
productCreate(input: $input) {
product {
id
title
variants(first: 1) {
edges {
node {
id
}
}
}
}
userErrors {
field
message
}
}
}";
and input:
var input = new
{
title = produkt.Name,
descriptionHtml = produkt.Description
vendor = “na”,
productType = “Standard”,
tags = tags,
status = “DRAFT”
};
can someone help me?