> ## Documentation Index
> Fetch the complete documentation index at: https://www.zippendo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Ongoing WMS

> Let your Ongoing WMS warehouse print Zippendo labels when an order is set to Sent, with the tracking number written back onto the order, and every Ongoing setting explained.

If your warehouse runs [Ongoing WMS](https://www.ongoingwarehouse.com), Zippendo can make the label for every order your warehouse sets to **Sent**. The label lands on the order in Ongoing and prints at the packing station, and the tracking number is written onto the order and its parcels.

You set it up once, in Ongoing and in Zippendo. Nothing gets installed.

Prefer to follow along with screenshots? The [Connect Ongoing WMS tutorial](https://www.zippendo.com/docs/tutorials/connect-ongoing.md) walks through the setup step by step. This page is the full reference, including every Ongoing setting and what each error means.

## How the pieces fit together

| System | What it does |
| - | - |
| Your webshop | Takes the order. If it is connected to Zippendo, its shipping prices at checkout come from Zippendo. |
| Ongoing WMS | Receives the order and runs picking and packing. |
| Zippendo | Sends the shipment to the carrier, gets the label and follows the tracking. |

What happens for each order:

1. Your packer finishes the order and sets it to **Sent** in Ongoing, as they do today.
2. Ongoing tells Zippendo. Zippendo reads the order from Ongoing: the receiver, the parcels and their weights.
3. Zippendo sends the shipment to the carrier your shipping rule picks.
4. The label goes back onto the order in Ongoing as a file, and Ongoing prints it. The tracking number goes onto the order and onto each parcel.

> [!NOTE]
>
> Your orders stay in Ongoing. They are **not** copied into Zippendo, but each label creates a shipment you can see under **Shipments**.

## Words used on this page

Ongoing uses a few words of its own. You meet them in Ongoing's menus, so this page uses them too.

| Word | What it means |
| - | - |
| Goods owner | Ongoing's name for the company whose goods are in the warehouse. That is you. |
| Goods owner ID | The number Ongoing gives your goods owner, such as `109`. |
| API user | A user Zippendo signs in to Ongoing with, to read orders and write labels back. |
| Transporter | Ongoing's name for a carrier. You add **Zippendo** as one. |
| Transporter service | A shipping choice under a transporter, such as "Home delivery". In Zippendo, each one is linked to a [shipping rule](https://www.zippendo.com/docs/settings/shipping-rules.md). |
| Transport agreement | What makes a transporter available to your goods owner in Ongoing. |
| Webhook | A message Ongoing sends to Zippendo when an order changes status. |
| API token | The password Ongoing uses to send that message to Zippendo. Zippendo makes it for you. |
| Sent (450), Error (150) | Order statuses in Ongoing. Sent asks Zippendo for a label. Zippendo sets an order to Error when it cannot make one. |

## Before you start

* You can change settings under **Administration** and **Registers** in Ongoing. If your warehouse is run by a logistics partner, ask them to do the Ongoing steps with you.
* You have at least one [shipping rule](https://www.zippendo.com/docs/settings/shipping-rules.md) in Zippendo for each way you ship, such as home delivery and service point.

## 1. Create an API user in Ongoing

Zippendo needs its own user in Ongoing to read orders and write labels back.

**1. Open API for goods owners**

In Ongoing, go to **Administration** → **Integration** → **API for goods owners**. Find your goods owner and click the arrow at the end of its row.

**2. Note your goods owner ID**

The number in the **Goods owner ID** column is your goods owner ID. You need it in step 3.

**3. Click Add new goods owner API user**

The **API user** form opens.

**4. Fill in the form**

* **Username**: for example `WSIZippendo`.
* Leave **Send an email to the user and allow them to choose their own password** unticked.
* **Password**: click **Generate** and copy the password somewhere safe for a moment. You paste it into Zippendo in step 3.
* **Integration partner**: `Zippendo`.
* **Type of integration**: pick **Other** and type `Zippendo` in the field below it.
* **Email**: an address where you want to hear about problems with the integration.
* Under **Permissions**, tick **Allow this user to trigger automatic printouts via the API**. Without it, labels land on the order but do not print.

**5. Click Create**

The user appears under **Current API users**.

![API for goods owners in Ongoing, showing goods owner ID 109 and the API user WSIZippendo](https://mintcdn.com/zippendo/8rIS_FiGLP3k2AR0/images/integrations/ongoing/ongoing-goods-owner-id.png?fit=max\&auto=format\&n=8rIS_FiGLP3k2AR0\&q=85\&s=049d56ff0642965d0674527b9c19265d)

The goods owner ID, and the API user once it is created

![Ongoing's API user form with username WSIZippendo, integration partner Zippendo and the automatic printouts permission ticked](https://mintcdn.com/zippendo/8rIS_FiGLP3k2AR0/images/integrations/ongoing/ongoing-api-user.png?fit=max\&auto=format\&n=8rIS_FiGLP3k2AR0\&q=85\&s=3ded9e506a59edf5e7c217dbd3696a69)

The API user form, with automatic printouts allowed

## 2. Add Zippendo as a transporter in Ongoing

Your packers choose Zippendo the same way they choose any other carrier in Ongoing: as a transporter with services. Ongoing only lets them **Send** an order whose transporter is linked to a shipping system, so you add Zippendo as one first.

**1. Add Zippendo as a shipping system**

Go to **Administration** → **Integration** → **Integrations**, click **Create new integration** and choose **Transporter dummy**. Leave every report on **\< None >** and **Number series code** on **\< Select >**: Zippendo makes the label and the tracking number. Type `Zippendo` as the **System name** and click **Create**.

**2. Create the transporter**

Go to **Registers** → **Transporters** → **Transport companies** and click **Create new transporter**. Type `Zippendo` as the **Transporter name** and `ZIPPENDO` as the **Transporter code**, pick **Zippendo** as the **External system**, and click **Create**.

**3. Add a service for each way you ship**

Open the transporter. Under **Transporter services**, click **New** and fill in a **Name** and a **Code**, such as "Home delivery" with the code `ZHOME` and "Pickup point" with the code `ZPICKUP`. Click **Create** after each one. You link each code to a shipping rule in Zippendo in step 4.

**4. Make it available to your goods owner**

Go to **Registers** → **Transporters** → **Transport agreements** and click **Create new transport agreement**. Pick **Zippendo (ZIPPENDO)** as the **Transporter**, keep **All transporter services** ticked, and click **Create**.

![Ongoing integration form of the type Transporter dummy, every report on None, no number series and the system name Zippendo](https://mintcdn.com/zippendo/8rIS_FiGLP3k2AR0/images/integrations/ongoing/ongoing-shipping-system.png?fit=max\&auto=format\&n=8rIS_FiGLP3k2AR0\&q=85\&s=322fe72938eb56a900263f2b21a3d491)

Zippendo added as a shipping system in Ongoing

![Ongoing transporter Zippendo with code ZIPPENDO, external system Zippendo and the services Home delivery (ZHOME) and Pickup point (ZPICKUP)](https://mintcdn.com/zippendo/8rIS_FiGLP3k2AR0/images/integrations/ongoing/ongoing-transporter.png?fit=max\&auto=format\&n=8rIS_FiGLP3k2AR0\&q=85\&s=c6d23ec430d8431cc8dafc019661654e)

The Zippendo transporter, linked to the Zippendo shipping system, with two services

![Add transporter agreement form in Ongoing with Zippendo (ZIPPENDO) selected and All transporter services ticked](https://mintcdn.com/zippendo/8rIS_FiGLP3k2AR0/images/integrations/ongoing/ongoing-transport-agreement.png?fit=max\&auto=format\&n=8rIS_FiGLP3k2AR0\&q=85\&s=bcf5918402f03b4da8134689405eea89)

The transport agreement that makes Zippendo available to your goods owner

Orders then get a Zippendo transporter service the way they get any transporter in Ongoing today: from the delivery method rules for your webshop, or chosen on the order. If you are not sure how your orders get their transporter, ask whoever looks after Ongoing for you.

## 3. Create the connection in Zippendo

**1. Open Apps & integrations**

In Zippendo, click **Apps & integrations** in the sidebar, then the **Catalog** tab. Ongoing WMS is under **Integrations**. Click **Connect**.

**2. Give it a name**

Type a **Name** you will recognize later, such as "Ongoing Køge warehouse".

**3. Fill in the Ongoing details**

* **Goods owner ID**: the number from step 1.
* **Ongoing API URL**: the address you sign in to Ongoing with is enough, such as `https://yourwarehouse.ongoingsystems.se/yourwarehouse`. Zippendo works out the API address from it.
* **API user name** and **API password**: the API user from step 1.
* **Label report ID**: `53` in most warehouses, which is Ongoing's standard label report. Leave it empty if you want labels on the order without printing them.

**4. Pick a brand (only with brands)**

If your organization uses brands, pick the **Brand** this warehouse ships for.

**5. Click Create connection**

Zippendo signs in to Ongoing with the API user before it saves anything, so a wrong password shows up now rather than on your first order. You then see **WMS connection created**, and the connection's page opens with the **API token** and two webhook URLs. Keep this page open: you need them in step 5.

> [!WARNING]
>
> The API token is shown **once**. Copy it now with the copy button next to it. If you lose it, click **Replace token** on the connection's page, and paste the new token into the webhook in Ongoing. The old token stops working at once.

The API token only lets Ongoing ask Zippendo for labels. It cannot see your carrier accounts, your addresses or your billing. The API password is stored encrypted, and Zippendo only uses it to read the orders it makes labels for and to write labels, tracking numbers and statuses back to them.

## 4. Link each transporter service to a shipping rule

On the connection's page in Zippendo, **Transporter services** lists the services from step 2, read straight from Ongoing.

Pick a **shipping rule** for each one, then click **Save services**. That rule decides the carrier, the carrier product and the sender address on the label.

If you add a service in Ongoing later, click **Refresh from Ongoing** to see it here.

> [!NOTE]
>
> If your webshop is connected to Zippendo and Ongoing copies the shipping method your customer picked at checkout onto the order, Zippendo uses that shipping method's own rule, including the service point the customer picked. The transporter service is then only used for orders without one.

## 5. Create the webhooks in Ongoing

You create two webhooks. The first makes Ongoing ask Zippendo for a label when an order is set to **Sent**. The second tells Zippendo when an order is cancelled, so its label is cancelled with the carrier too.

**1. Start a new webhook**

In Ongoing, go to **Administration** → **Integration** → **Webhooks** and click **Create new regular webhook**. Pick **Order status is changed**.

**2. Status**

Leave **Status before** on **\< All >**. Set **Status after** to **Sent (450)**.

**3. Authentication**

Set **Type of authentication** to **Fixed X-Auth-Token** and paste the API token from Zippendo into **Token**.

**4. Settings**

* **Retry policy**: **One day (first retry after 1 minute) (Recommended)**. If Zippendo or Ongoing cannot be reached for a moment, Ongoing tries again.
* **URL**: the **Webhook URL for sent orders** from the connection's page in Zippendo.
* **Email address for communication about issues with the integration**: where Ongoing should write if the webhook keeps failing.
* Tick **Enabled**.

**5. Filter**

Untick **All transporters** and tick only **Zippendo**. Orders for your other transporters then never reach Zippendo.

**6. Click Create**

Leave everything under **Advanced** as it is.

**7. Create the second webhook**

Create another webhook the same way, with two differences: set **Status after** to **Cancelled (1000)**, and paste the **Webhook URL for cancelled orders** into **URL**.

![Ongoing webhook form with Status after set to Sent (450) and Fixed X-Auth-Token authentication](https://mintcdn.com/zippendo/8rIS_FiGLP3k2AR0/images/integrations/ongoing/ongoing-webhook-status.png?fit=max\&auto=format\&n=8rIS_FiGLP3k2AR0\&q=85\&s=72ec539484d25ce24f6bcf36c3ad0d60)

Status after Sent (450), and the API token from Zippendo as a fixed X-Auth-Token

![Webhook settings in Ongoing with the one-day retry policy, the Zippendo webhook URL and Enabled ticked](https://mintcdn.com/zippendo/8rIS_FiGLP3k2AR0/images/integrations/ongoing/ongoing-webhook-settings.png?fit=max\&auto=format\&n=8rIS_FiGLP3k2AR0\&q=85\&s=36393fe9f940dc72d8242382340d3cad)

One day of retries, and the webhook URL from Zippendo

![Webhook filter in Ongoing with All transporters unticked and only Zippendo ticked](https://mintcdn.com/zippendo/8rIS_FiGLP3k2AR0/images/integrations/ongoing/ongoing-webhook-filter.png?fit=max\&auto=format\&n=8rIS_FiGLP3k2AR0\&q=85\&s=511c01ab61dc8d00e5d5a07e53fd2cc9)

Only orders for the Zippendo transporter

## 6. Print the labels at the packing station

Zippendo puts every label on the order as a PDF file and asks Ongoing to print it as the packer who set the order to **Sent**, at their workstation. Where it comes out is decided by your printer settings in Ongoing, the same way as Ongoing's own labels:

* The Ongoing Printer Service runs on the computer the label printer is connected to.
* Under **Administration** → **Other** → **Printer settings**, the label report (usually `53`) is sent to the label printer for that workstation or user.

Ongoing's [documentation](https://docs.ongoingwarehouse.com/) walks through both. If labels already print from Ongoing today, there is nothing more to do.

## 7. Stop Zippendo importing your orders (only if your webshop is connected)

If your webshop is also connected to Zippendo as an order channel, Ongoing is now in charge of your orders. If Zippendo imported them too, both systems would ship the same order, and you could pay for two labels for one parcel.

Go to **Order channels**, open your webshop, and under **What Zippendo is used for**, turn off **Import orders from this webshop**. Shipping prices and service point selection at checkout keep working. Zippendo no longer marks orders as shipped in your webshop, so that is up to Ongoing, as for your other carriers.

## 8. Try it

Set one test order with a Zippendo transporter service to **Sent**, and check four things:

* the order's files in Ongoing hold a `zippendo-…pdf` label, and it printed
* the order's **Waybill** shows the tracking number
* the shipment shows up under **Shipments** in Zippendo, with the carrier you expected
* the connection in Zippendo shows when Ongoing last contacted it, with no error

If Ongoing answers **Send** with "Could not send! … is not connected to an external system", the Zippendo transporter is not linked to a shipping system yet. Open it under **Registers** → **Transporters** → **Transport companies**, pick **Zippendo** as the **External system** and click **Update**. If **Zippendo** is not in that list, add it first, as in step 2.

## Dangerous goods

Zippendo tells the carrier when an order contains dangerous goods, on carrier products that can take them. Classifying, packing and marking the goods stay your job, as with any carrier, and so does the transport document fully regulated goods need.

For each order, Zippendo reads the dangerous goods details of its articles in Ongoing. Three things need to be in place:

1. **The articles have their dangerous goods details in Ongoing**, at least the UN number. Zippendo also passes on the hazard class, the packing group and the shipping name when the carrier asks for them.
2. **The order says how the goods ship.** Tick the order's transporter add-on for dangerous goods in limited quantities, or the one for dangerous goods if they are fully regulated. Ongoing does not tick these for you, so set them up in your order import or tick them by hand. With both ticked, Zippendo declares the order as fully regulated.
3. **The transporter service has a shipping rule whose carrier product takes these goods** (step 4). These carrier products can:

| Carrier | Limited quantities | Fully regulated |
| - | - | - |
| Bring | Products with the **Limited quantities (dangerous goods)** service | – |
| DPD Switzerland | Products with the **Limited quantities (dangerous goods)** service | – |
| Matkahuolto | Products with **Dangerous goods - limited quantity (LQ)** | Products with **Dangerous goods (ADR)** |
| DHL eCommerce Europe | Connect PLUS products with **Dangerous goods in limited quantities** | – |

Matkahuolto takes dangerous goods on an order of one parcel only.

You do not need to tick the service on the shipping rule. Zippendo adds it to these orders only, and fills in the UN number and the weight of the goods from Ongoing. Dangerous goods details saved on the shipping rule itself are not used for these orders. An order without dangerous goods ships on the same rule as before.

When something is missing, the order goes to **Error** with a note that says what, and nothing is booked.

## When Zippendo cannot make a label

Zippendo sets the order to **Error (150)** and writes the reason on the first line of the order's remark, starting with `[Zippendo]`. Your own remark stays below it. A remark holds 500 characters, so next to a long remark of yours Zippendo shortens its note, and it cuts the end of yours only when your remark nearly fills it.

Fix what the note says, then set the order to **Sent** again. Ongoing asks Zippendo again, and when the label is made, Zippendo removes its note from the remark.

| The note starts with | What to do |
| - | - |
| "No usable Zippendo shipping rule for the transporter service" | The transporter service has no shipping rule in Zippendo, or its rule was deleted. Pick one under **Transporter services** on the connection (step 4). |
| "The order has no transporter service" | Give the order one of the Zippendo transporter services in Ongoing. |
| "This shipping rule delivers to a service point, but no service point was selected" | The rule needs a service point and the order has none, and none was found near the address. Add the service point to the order, or use a home delivery service. |
| "… contains dangerous goods …, but Ongoing WMS does not say whether they ship in limited quantities" | Tick the order's dangerous goods add-on for limited quantities, or the one for fully regulated goods (see **Dangerous goods** above). |
| "… cannot declare them to the carrier" | The transporter service's shipping rule uses a carrier product that cannot take these goods. Use a transporter service whose rule can, from the table under **Dangerous goods** above. |
| "… with more than one UN number" | The carrier takes one UN number per shipment. Split the goods into separate orders. |
| "… and dangerous goods without one" | Some articles on the order have a UN number (or hazard class, packing group or shipping name) and others do not. Add the missing detail to the articles in Ongoing, or split the goods into separate orders. |
| "… declares them on a shipment of one parcel only" | The carrier takes dangerous goods on one parcel per order. Pack the order as one parcel, or split it into separate orders. |
| Something from the carrier, such as an address problem | The carrier refused the shipment. Fix the address on the order and set it to **Sent** again. |
| "Some parcels of this shipment were cancelled with the carrier" | The carrier cancelled only some of the order's parcels. Open the shipment in Zippendo and cancel the rest, then set the order to **Sent** again for new labels. |

Some problems are not about one order, so Zippendo leaves the order as it is and answers Ongoing with an error. Ongoing then tries again for up to a day, and emails the address on the webhook if it keeps failing. The latest one also shows under **Latest error** on the connection's page in Zippendo:

| Latest error | What to do |
| - | - |
| "The WMS rejected the API user name or password" | The API user's password was changed or the user was removed in Ongoing. Type the new password under **Ongoing API user** on the connection, and click **Save API user**. |
| "Ongoing did not answer" or "Ongoing answered … with HTTP" | Ongoing could not be reached for a moment. Nothing to do: Ongoing tries again, and Zippendo picks up where it left off without buying a second label. |
| "This shipment's cancellation is waiting for the carrier's answer" | The shipment was cancelled in Zippendo, and its carrier confirms cancellations later. Nothing to do: Ongoing tries again, and once the carrier has answered, Zippendo makes a new label, or hands back the old one if the carrier did not cancel it. If Ongoing has stopped trying by then, set the order to **Sent** again. |
| "A label for this order is still being created" | The order was cancelled in Ongoing while Zippendo was still making its label. Nothing to do: Ongoing sends the cancellation again, and Zippendo then cancels the label. If the shipment is still not cancelled in Zippendo after a few minutes, contact support. |
| "Ongoing sent a cancelled order to the webhook URL for sent orders" | The webhook for **Cancelled (1000)** uses the wrong URL. Paste the **Webhook URL for cancelled orders** into it. |
| "Ongoing sent an order set to Sent to the webhook URL for cancelled orders" | The webhook for **Sent (450)** uses the wrong URL. Paste the **Webhook URL for sent orders** into it. |
| "The account ID sent by the WMS does not match this Zippendo connection" | The webhook belongs to a different goods owner than the connection. Check the **Goods owner ID** on the connection, and that the webhook's URL is this connection's. |
| "A subscription with a payment method is required", "Your subscription is not active" or "You have used all … included shipments" | Your Zippendo plan stopped the label. Under **Pricing plans** in Zippendo, add a payment method or turn on **Allow overage shipments** (see [Pricing and billing](https://www.zippendo.com/docs/settings/pricing-and-billing.md)). Ongoing tries again for up to a day; after that, set the waiting orders to **Sent** again. |

Two more problems are easiest to spot in Ongoing, under **Administration** → **Integration** → **Webhooks** → **Logs**. A wrong token never reaches the connection, so it shows only there:

| Ongoing's log shows | What to do |
| - | - |
| "This WMS connection is disabled" | Someone turned off **Allow the WMS to create labels** in Zippendo. Turn it back on, then set the waiting orders to **Sent** again. |
| An error about the API token | The token in the webhook is wrong, or it was replaced or deleted in Zippendo. Click **Replace token** on the connection, and paste the new token into the webhook in Ongoing. |

## Good to know

> [accordion] What if an order is set to Sent twice?
>
> You are never charged twice for the same parcel. If Ongoing sends the same message again, Zippendo recognizes it and does nothing. If a packer sets the order to **Sent** again, Zippendo hands back the label it already made instead of buying a new one, and Ongoing prints it again, which is a handy way to reprint a label. If you change the order's transporter service first, or the shipment was cancelled with the carrier, Zippendo makes a new label.

> [accordion] Several parcels for one order
>
> If your packers register parcels on the order in Ongoing, each parcel gets its own label with its own weight and size, and each parcel gets its own tracking number. If they only fill in the number of packages on the waybill, Zippendo makes one label per package and shares the weight between them. With neither, the order is one parcel weighing what was picked.

> [accordion] Where does the sender address come from?
>
> From the shipping rule in Zippendo, always. It must match the carrier account the label is billed to, so the address in Ongoing is not used.

> [accordion] Door codes and delivery instructions
>
> The delivery instruction on the order, and the door code if there is one, go to the carrier as the shipment's comment. Carriers that print or pass on a comment show it to the driver.

> [accordion] Return labels and cancelling
>
> Zippendo makes the outgoing label only. Return labels from Ongoing are not supported yet.
>
> Cancelling an order in Ongoing cancels its labels with the carrier too, if the carrier allows it (see **Cancel a sent shipment** in [Hold, cancel, or delete a shipment](https://www.zippendo.com/docs/how-to/hold-cancel-and-delete-shipments.md)). This needs the second webhook from step 5. The order stays **Cancelled**, and Zippendo writes on the first line of its remark what happened:
>
> | The note says | What it means |
> | - | - |
> | "Label cancelled with the carrier." | Done. The shipment is cancelled in Zippendo too. |
> | "The carrier was asked to cancel the label and confirms it later." | The shipment in Zippendo shows the carrier's answer once it comes. |
> | "The carrier can't cancel labels through Zippendo, so this label stays valid." | Cancel it with the carrier yourself if you need to. |
> | "The carrier refused to cancel the label, so it stays valid." | The carrier may already have the parcel. |
>
> Setting an order back from **Sent** to an earlier status does not cancel its label, and Zippendo does not book an order that is no longer **Sent**. To cancel that label, open the shipment in Zippendo and click **Cancel shipment**. To ship the order after all, set it to **Sent** again, and Zippendo makes a new label.

> [accordion] Pause or remove the connection
>
> Open the connection: on the **Connected** tab under **Apps & integrations**, click its row on the Ongoing WMS card. Turn off **Allow the WMS to create labels** to pause it, or click **Delete connection** to remove it and its API token for good. Also switch off the webhook in Ongoing, so it stops sending orders. Shipments already created stay in Zippendo.

Still stuck? Send us a message with the order number from Ongoing and we will look.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.