Commerce
Manage the products and orders of a WooCommerce store on a self-hosted WordPress site through the Commerce API.
A self-hosted site running WooCommerce is also a Commerce store. The Commerce API at /v1/commerce manages its:
- products, variants, images and stock
- categories (as collections) and coupons (as discounts)
- product custom fields and pages
It can also sync the store into a Meta catalog for catalog ads.
Pass this account's id as accountId. Objects report platform: "woocommerce".
The connected user must be allowed to manage WooCommerce.
WordPress.com sites cannot serve WooCommerce through Zernio. Their pages remain available through the Commerce pages endpoints.
GET /v1/commerce/store returns the capabilities the site serves.
Sales channels, menus, redirects, metaobjects, markets and marketing activities are Shopify only; see WooCommerce differences.
curl "https://zernio.com/api/v1/commerce/products?accountId=66c0a1b2c3d4e5f6a7b8c9d0&status=active" \
-H "Authorization: Bearer $ZERNIO_API_KEY"Was this page helpful?