Skip to content

WooCommerce labels with ZPL

Print WooCommerce order and product labels on a thermal printer, with a free plugin that fills your OpenZPL design with the order's data.

Your label

Preview

100%

How it fits

The OpenZPL plugin for WooCommerce adds a label action to each order. Or call the API from your own code.

Example

$res = wp_remote_post("https://api.openzpl.com/v1/templates/d123", [
  "headers" => ["X-API-Key" => $key, "Accept" => "application/pdf", "Content-Type" => "application/json"],
  "body" => wp_json_encode(["data" => ["order" => $order->get_order_number()]]),
]);

Setting it up

Design the label in the designer with {{variables}}, save it, and copy its ID from the dashboard. Create an API key, then send your data to POST /v1/templates/{id}. The API docs have the details.

Questions

Does it buy postage?

No. It prints your own labels; postage comes from your carrier or shipping plugin.

Do I need to install anything?

Not to render labels: it's an HTTP API. To send them to a printer on your network, run the [print agent](/print-agent/) next to it.

What does it cost?

A free key allows 20 labels a day. Pro is $29 a month for 100,000 labels, and Business $99 for 1,000,000. See [pricing](/pricing/).

Related

Need something we don't have yet?

A connector for your system, a label format or a new tool: tell us what you use and we'll look at building it.

Request a tool or integration
Feedback