Lodol Docs

WooCommerce

API actions for the WooCommerce integration.

WooCommerce

Manage WooCommerce products, customers, and orders.


Create WooCommerce customer

Create a customer with email and optional profile details.

Parameters

ParameterTypeRequiredDescription
emailstringYesCustomer email.
first_namestringNoFirst name.
last_namestringNoLast name.

Response

{}

Create WooCommerce order

Create an order with line items and optional customer assignment.

Parameters

ParameterTypeRequiredDescription
line_itemsarrayYesArray of order line items.
customer_idnumberNoCustomer ID to associate (integer, 0 for guests).
statusstringNoOrder status.

Response

{}

Create WooCommerce product

Create a new WooCommerce product with optional description and price.

Parameters

ParameterTypeRequiredDescription
namestringYesProduct name.
descriptionstringNoProduct description.
regular_pricestringNoRegular price for the product.

Response

{}

Get WooCommerce product

Retrieve a single WooCommerce product by ID.

Parameters

ParameterTypeRequiredDescription
product_idstringYesWooCommerce product ID.

Response

{}

List WooCommerce orders

List recent WooCommerce orders optionally filtered by status.

Parameters

ParameterTypeRequiredDescription
per_pagenumberNoMaximum number of orders to return.
statusstringNoOptional order status filter.

Response

{
  "results": [
    {}
  ]
}

List WooCommerce products

List products from your WooCommerce store with pagination control.

Parameters

ParameterTypeRequiredDescription
per_pagenumberNoMaximum number of products to return.

Response

{
  "results": [
    {}
  ]
}

On this page