Dokan

Start creating your dream marketplace with the ultimate multivendor marketplace solution.

Go to site

Dokan API Integrations

Build and run workflows using the Dokan API. Use 1000s of source-available triggers and actions across 2,000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

The Dokan API allows you to manage an online marketplace powered by Dokan, an e-commerce solution based on WooCommerce. With this API, you can automate vendor management, product listings, order tracking, and commission calculations. Integrating Dokan with Pipedream opens doors to create powerful serverless workflows that can interact with other services, handle complex automation tasks in your marketplace, and streamline operations without manual intervention.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    dokan: {
      type: "app",
      app: "dokan",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.dokan.$auth.url}/wp-json/dokan/v1/stores/`,
    })
  },
})

Choose an API to Connect with Dokan API

1
-
24
of
2,000+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Salesforce (REST API)
Salesforce (REST API)
Web services API for interacting with Salesforce
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
Shopify Developer App
Shopify Developer App
Shopify is a user-friendly e-commerce platform that helps small businesses build an online store and sell online through one streamlined dashboard.
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Snowflake
Snowflake
A data warehouse built for the cloud
MongoDB
MongoDB
MongoDB is an open source NoSQL database management program.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
ServiceNow
ServiceNow
The smarter way to workflow
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.

Example Use Cases

  • Vendor Onboarding and Management: Automate the process of adding new vendors to your marketplace. When a vendor submits their details via a web form (like Typeform or Google Forms), Pipedream can capture this data and use the Dokan API to create a new vendor profile, set up their store, and send a welcome email through SendGrid or another email service.

  • Product Inventory Sync: Keep product listings up-to-date across multiple platforms. For example, if inventory levels change in your ERP system, Pipedream can trigger an update in Dokan to reflect these changes. This ensures that your marketplace is always in sync with your actual stock, preventing overselling and maintaining customer satisfaction.

  • Automated Commission Payouts: Calculate and disburse vendor commissions automatically. Use Pipedream to schedule a workflow that totals sales for each vendor, calculates the owed commission based on your marketplace's rules, and processes payments through a payment gateway like Stripe or PayPal, minimizing administrative work regarding payouts.

Authentication

Dokan uses API keys for authentication. When you connect your Dokan account, Pipedream securely stores the keys so you can easily authenticate to Dokan APIs in both code and no-code steps.

Dokan uses the WordPress REST API. Follow these instructions to connect your self hosted Wordpress instance; their authentication credentials will be used to access Dokan API.

This integration requires the Application Passwords plugin to be installed in your Wordpress instance, which allows you to authenticate without having to provide passwords user passwords directly.

The url field below is your WordPress site's domain. For example, if you have a Wordpress.org site hosted at https://example.com, then enter example.com in the url field below.