Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimmijazz/2cf3b5895aafb6e4947842bece9c4f6c to your computer and use it in GitHub Desktop.
Save jimmijazz/2cf3b5895aafb6e4947842bece9c4f6c to your computer and use it in GitHub Desktop.
{
"query": "mutation publishablePublish($id: ID!, $input: [PublicationInput!]!) { publishablePublish(id: $id, input: $input) { publishable { availablePublicationCount publicationCount publishedOnCurrentPublication } shop { id } userErrors { field message } }}",
"variables": {
"id": "gid://shopify/Product/{{product.legacyResourceId}}",
"input": [{ "publicationId": "gid://shopify/Publication/25658064918" }]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment