W

WooCommerce REST API

REST discovered

Details
URL
https://<store-url>/wp-json/wc/v3
Docs
https://developer.woocommerce.com/docs/apis/rest-api/
Authentication
WooCommerce REST API consumer key and consumer secret basic discovered Get credentials ↗
Authorization: Basic <credential>

In your WooCommerce store admin, go to WooCommerce REST API authentication and follow WooCommerce → Settings → Advanced → REST API. Click Add Key, choose the WordPress user and permissions, then click Generate API Key. Save the resulting consumer_key and consumer_secret immediately; the secret is only shown once. If you want an app-assisted flow, WooCommerce also supports the application auth URL at /wc-auth/v1/authorize described in the same doc.