Publish Shopify Products to Facebook Channel via API

Shopify dialog to manually publish a product to sales channels.

REST API

GraphQL API

mutation publishablePublish(
$id: ID!,
$input: [PublicationInput!]!) {
publishablePublish(id: $id, input: $input) {
userErrors {
field
message
}
}
}
{
"id": "gid://shopify/Product/123456",
"input": {
"publicationId": "gid://shopify/Publication/7890123"
}
}

What can I do now?

  1. The synchronization interface adds the tag “Facebook” to all products that need to be published on the Facebook channel.
  2. After the synchronization process (2 to 3 times per week), a shop admin has to navigate to the product overview page, select all products with the “Facebook” tag and call the action “Add available channels”.
Steps to “Add available channels” to products

--

--

--

I ❤️ Shopify & Next.js. checkout-agency.com, Founder

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Hey, wouldn’t it be cool to have…

Agile Estimation: All Your Questions Answered

Notes on “Life Beyond Distributed Transactions: An Apostate’s Opinion”

ZerOps — Microservice Development Setup

SQL Tutorial — Full database course for beginner step by step

CS371g Summer 2021: Manuel Molina Week 3

DynamoDB — How to design your data relationship fit into “One Table” (Part 1)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Markus Tripp

Markus Tripp

I ❤️ Shopify & Next.js. checkout-agency.com, Founder

More from Medium

Appointment scheduling on your WordPress website — Now with Amazon Alexa skill

Firebase and Google Analytics might only be counting HALF of your Active Users

Shopside — Developing eCommerce with Shopify

Building a modern website in 2022