0

REST API

By default, products that are published or updated through Woocommerce’s REST API are not synced.

In order to sync products that are published or updated through Woocommerce’s REST API you will need to set up the options on the main settings page.

The supported REST API Versions are : V2, V3.

import and publish to several woocommerce stores using rest api with multistore

1.
Setting Synchronize new products added via API with all child sites by default to No, will never publish newly created products through REST API

2.
Setting Synchronize new products added via API with all child sites by default to Yes and Child product inherit Parent changes, unchecked, will publish all newly created products through REST API to all of your connected child stores but the products will never sync on product updates. This is useful if you want to publish new products only to child stores but never maintain a sync between them. If you later decide that you want the products to sync you will need to edit the sync options on the product edit page.

3.
Setting Synchronize new products added via API with all child sites by default to Yes and Child product inherit Parent changes, checked, will publish all newly created products through REST API to all of your connected child stores and the products will sync on product updates depending on your other general settings ( product status, featured status, catalogue visibility, title, etc ). This is useful if you want to publish new products and maintain a sync between the products. If you later decide that you want the products to stop syncing you will need to edit the sync options on the product edit page.

Using Rest API for specific stores only

Each child store can be disabled from being synchronized through REST API allowing you to target specific stores only.

Setting Synchronize new products addded via API to NO for a child store means the child store will not publish or sync products that where are added via REST API for that specific store. This option only works if the main setting Synchronize new products added via API with all child sites by default is set to YES.

import and publish to spesific woocommerce stores using rest api with multistore