How do I automatically select my private app in the sales channels and apps?

robertbrower
Tourist
5 0 1

I am using this mutation to create products using the admin graphql api:

 

mutation productCreate($inputProductInput!) {
    productCreate(input$input) {
        product {
            id
            title
            bodyHtml
            productType
            vendor
            tags
            metafield(key"configuration"namespace"product") {
                value
            }
        }
        userErrors {
            field
            message
        }
    }
}

 

How do I automatically select my private app in the sales channels and apps when I create the product using the admin graphql api?

Replies 0 (0)