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

Moving Planet 4 to Gutenberg

Create light trail effect by python

KUBERNETES IN AIR-FORCE DEFENCE SYSTEM..!!

OOP Concepts for Beginners: Simplified

Linux programming |C — Signals

How to create a local copy of your WordPress website

Dependency Injection with .Net core

Microservices architecture -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

Twilio — Intentionally Clever or Accidentally Genius?

How Ride-Sharing Apps Changed Local Transport

Get Started with Bloomreach Headless Experience Manager — Part 1: Channels

How to Choose Right Technology Stack for your Mobile App?