Skip to main content

Woocommerce API

To create WooCommerce app (single vendor, WCFM, or Dokan) or Manager app, let’s install our free MStore API and some plugins to your WooCommerce website so that the app can sync with your data:

1. Website Integration

Install required plugins


Get Consumer Key & Secret

The Consumer Key and Secret are generated from your WooCommerce settings: Go to WooCommerce > Settings > Advanced > REST API > Add Key. Choose 'Read' permission. Details below:

  • After installing the required plugins, Generate the WooCommerce REST API key and save them to your private file for later usage. Then, go to Legacy API and enable the Enable the legacy REST API. Make sure to use the Permission as Read to protect your side data as Readonly.

Checking the Rest API configuration:


2. Other Settings

Permalink URL setting

Go to Common Setting, change the URL to Post name, this is required for the setting, otherwise, some images could not be uploaded.


Registration

Enable the option Anyone can register.

That’s all 😊


3. Supported Product Types

All supported product types of WooCommerce:

Standard & Specialty Products:

✅ Simple product

✅ Grouped product

✅ Variable product (Colors, sizes, ...)

✅ Minimum quantity product —> the guide.

✅ Out of stock product & On sale product.

✅ External/Affiliate product

✅ Downloadable product (Digital, book stores) —> the guide.

✅ Upload file on product (e.g., for Pharmacy orders) —> the guide.

✅ Appointable product (Appointment booking, spa, salon, clinic,…) —> the guide.

✅ Subscription —> the guide.

✅ B2B wholesale product —> the guide.

Advanced Products:

⚡️ B2B King —> the guide.

⚡️ Ultimate Membership; Paid Memberships Pro —> the guide.

⚡️ Composite products —> the guide.

⚡️ PW Gift Card products —> the guide.

⚡️ Auction / Bid products —> the guide.

⚡️ Rental products —> the guide.