Skip to content

API Overview

WedoCOD exposes two API surfaces:

SurfaceBase URLAuthPurpose
REST APIapi/web/1.0/Sanctum Bearer TokenExternal integrations — bulk create/read/delete leads & orders
Dashboard/Session (Cookie)Dashboard UI operations — products, stocks, users, settings, etc.

REST API (v1.0)

The REST API is the primary integration point for external systems (Shopify, WooCommerce, custom storefronts). It uses Laravel Sanctum bearer token authentication.

Available resources:

ResourceEndpointsDescription
LeadsCreate, List, Show, Delete, UpdateBulk create up to 1,000 leads per request
OrdersCreate, List, Show, Delete, UpdateBulk create up to 1,000 orders per request
Lead HistoriesListRead lead status change history
Order HistoriesListRead order status change history

Base URL

https://{your-domain}/api/web/1.0/

Request Format

  • Content-Type: application/json
  • All requests must include a valid Authorization: Bearer {token} header
  • Bulk endpoints accept arrays in the request body

Response Format

All responses return JSON. Successful responses include the resource data. Error responses follow a standard structure — see Error Handling.

Dashboard API

The dashboard routes power the WedoCOD web interface. These are session-authenticated and used by Admin and Seller roles within the platform.

Dashboard operations are organized by resource:

ResourceRolesDescription
ProductsAdmin, SellerProduct catalog management
StocksAdmin, SellerInventory levels per warehouse
WarehousesAdminWarehouse CRUD
MarketplaceAdmin, SellerMarketplace products and affiliate requests
Shipping CompaniesAdminCourier integrations
Invoices & FinanceAdmin, SellerPayment requests and invoice management
SourcingsAdmin, SellerProduct sourcing requests with chat
StatisticsAdmin, SellerLeads, orders, agents, product analytics
UsersAdminManage all user roles
ApplicationsSellerGoogle Sheets, YouCan, LightFunnels integrations
SettingsAdmin, SellerAPI keys, webhooks, profile, payments
WebhooksAdmin, SellerIncoming webhook configuration for e-commerce platforms

Permissions

Every endpoint enforces role-based access control. See the full Permissions Matrix for a complete breakdown of what each role can access.

API Versioning

The current API version is v1.0. The version is included in the REST API URL path (api/web/1.0/). Dashboard routes are unversioned.

WedoCOD Documentation