For authorised dealers of Leela Cotton. Connects your WooCommerce shop to the
Leela Partner API so that when an article sells out at Leela, your listing goes
out of stock too, without anyone touching a spreadsheet.
How it works
- Matches your products to Leela’s catalogue on EAN (barcode).
- Pulls only what changed since the last run, so a sync costs one request when
nothing has moved.
- Optionally receives push updates over a signed webhook, for changes within
seconds rather than minutes.
- Writes quantity and stock status; optionally applies a safety buffer so a
burst of orders on Leela’s side cannot make you oversell.
What is transferred
Only EAN, SKU, quantity and a timestamp. No prices, no customer data, no orders.
Requirements
- An active Leela dealer account and an API key from partners.leela.eco
- WooCommerce 8.0 or newer
- Your products’ EANs in the SKU field, or in a GTIN plugin’s custom field
External services
This plugin connects to the Leela Partner API, a service operated by Leela
Cotton Naturtextilien Handels GmbH, to read the stock levels it writes into your
shop. It is the only external service the plugin contacts, and the plugin does
nothing without it.
When it connects
- When you save your API key, to verify it.
- On each scheduled sync (every 15 minutes by default), and whenever you press
Sync in the settings screen.
- If you enable the optional webhook, once to register your site’s callback URL
and once to remove it again when you disable it. After that the Leela API
contacts your site rather than the other way round.
What is sent
- Your API key, as an HTTP Authorization header, so the service knows which
dealer is asking.
- A numeric sync cursor, which is the version number of the last change your
shop received. It carries no information about your shop beyond how recently
it synced.
- When registering the webhook only: your site’s callback URL, and your site’s
hostname as a label so you can recognise the endpoint in the partner portal.
No product data, customer data, order data or prices are ever sent.
What is received
For each changed article: EAN (barcode), SKU, quantity, an in-stock flag, a
timestamp and a version number. Nothing else.
Service: https://partners.leela.eco
Terms: https://partners.leela.eco/imprint
Privacy policy: https://partners.leela.eco/data-policy
Data we share: https://partners.leela.eco/data-policy