Skip to content
Maua.Culturewire

WooCommerce

Orders, products, customers and coupons of your store

E-commerceCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • Username and password

    Your users enter

    • Store address (https://…)RequiredHTTPS URL
    • Consumer key (ck_…)SecretRequired
    • Consumer secret (cs_…)SecretRequired

    Where to find them

    In the WordPress dashboard: “WooCommerce” → “Settings” → “Advanced” → “REST API” → “Add key”. Choose a user who is an administrator or shop manager and the “Read/Write” permissions (or “Read” if you will only query), click “Generate API key” and copy the key and the secret: they are not shown again. The store must use https.

Tools (2)

  • WooCommerce API requestWOOCOMMERCE_SEND_REQUEST

    Authenticated call to the WooCommerce API ({url}/wp-json/wc/v3). Any endpoint of the API is allowed. Examples: GET /orders?status=processing&per_page=20, GET /orders/{id}, PUT /orders/{id} {"status": "completed"}, GET /products?search=…&per_page=20, POST /products, PUT /products/{id} {"stock_quantity": 5}, GET /customers?email=…, GET /coupons, GET /reports/sales?period=month.

    Required scopes

    No scopes required

    Input

    WooCommerce API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Recent ordersWOOCOMMERCE_LIST_ORDERS

    Orders from newest to oldest, in compact format: number, status, date, total, customer, payment and items.

    Required scopes

    No scopes required

    Input

    Recent orders input
    NameTypeDescription
    statusstringOne of: any, pending, processing, on-hold, completed, cancelled, refunded, failedDefault: "any"
    sincestringOnly those created since this date (YYYY-MM-DD)
    maxintegerDefault: 20