Skip to main content

Ongoing

With Ongoing, the return is closed in Returnflows when your warehouse has received the return package in Ongoing.

Written by August Lykke Amstrup

Ongoing is connected under Settings → Integrations → Ongoing. The integration applies to the whole shop.

With Ongoing, the return is closed in Returnflows when your warehouse has received the return package in Ongoing. Learn more in Your warehouse and Returnflows.

Connect Ongoing

You need an API user in Ongoing, your Goods Owner ID and the status codes your warehouse uses. Whoever has administrator access to your Ongoing creates the API user. If a 3PL runs your warehouse, then the 3PL creates it.

  1. In Ongoing, go to Administration → API for goods owners.

  2. Create an API user. The username has to start with WSI, and the integration type is Returnflows.

  3. In Returnflows, open the integration and select Install. Under Authentication, enter Warehouse, the system name from your Ongoing URL, the Username and Password of the API user, and your Goods Owner ID. The question mark icon in the bottom left corner of Ongoing shows your goods owner name and id. Select Next.

  4. Under API Server, choose api.

  5. Under Warehouse Settings, choose the warehouse in Ongoing that holds your stock. Choose None if your 3PL allocates orders to a warehouse itself.

  6. Under Order Status Codes, map Open, Returned, Released and Sent to your own status codes. Under Return Order Status Codes, map Open and Returned. The codes are in Ongoing under Administration → Statuses.

  7. Under Advanced, keep the defaults when Ongoing gets your orders directly from Shopify. If the orders come through Webshipper or another system in between, then set Search Order By to Order Number (Shopify Order Number). Set Article Matching to Article Number (SKU).

  8. Under Webhook Settings, enter a long random text as Webhook Auth Token and select Install. After the install, the webhook URL is shown in the webhook setup instructions on the integration page.

  9. In Ongoing, open the webhook page under System and create a regular webhook of the type Order status is changed.

  10. Choose Fixed X-Auth-Token as authentication and paste your token. Paste the webhook URL from Returnflows, set the retry policy to One day and make sure the webhook is turned on.

  11. Select Test on the webhook and check that the event shows in the integration log in Returnflows.

The username, the password and the token can't be changed after saving. The API user belongs to one goods owner. A second shop on the same goods owner needs its own API user. On install we create the return causes returnflows and returnflows-claim in Ongoing.

Without the webhook, nothing is released or closed.

The status codes

Status

What it is

Open, order

A new exchange order that your warehouse must not pick yet

Released, order

We move the exchange order here when the exchange is released

Sent, order

Your warehouse moves the order here when it ships. We then mark the exchange as fulfilled in Shopify

Returned, order

The original order reaches this status when your warehouse has received the return. We then close the return

Open, return order

A return order that is created but not received, or only partly received

Returned, return order

Your warehouse has received and processed the return package

Search Order By and Article Matching

Search Order By decides where we find the order in Ongoing when your customer creates a return. Goods Owner Order ID looks for the Shopify order id in the Goods owner order ID field. The Reference Number options look for the Shopify order id, or the Shopify order number, in the Reference number field. Order Number looks for the Shopify order number in Ongoing's own order number.

Article Matching decides how we match the returned products to the order lines in Ongoing. Shopify Line Item ID uses Shopify's id for the line. Article Number (SKU) uses the product's SKU.

Orders that go directly from Shopify to Ongoing use Goods Owner Order ID and Shopify Line Item ID. With orders that come through Webshipper, the lines in Ongoing don't have Shopify's ids.

Shopify's line item ids are unique per shop. If several shops share one goods owner, then match on SKU, and every SKU has to be unique.

How a return runs

When the label is generated, we create a return order in Ongoing in your Open status for return orders, with the return cause returnflows. Your warehouse receives the return package in Ongoing. When the original order reaches your Returned status and Ongoing has received every product, the webhook closes the return in Returnflows. We then create the refund in Shopify, activate the gift card or release the exchange.

If products are missing, then the return gets a critical alert instead of closing. Learn more in Return statuses and alerts. Edit the return to what came back and close it in Returnflows. Learn more in Edit Return.

A return you close in Returnflows isn't closed in Ongoing.

Exchanges and restock

When the label is generated, we create the exchange as its own order in Ongoing in your Open status. The order is named after the return, or EXCHANGE- and the return name, as chosen under Exchange Order Naming. We move the order to your Released status when the return is closed, when Instant Exchange releases it, or when you select Release Exchange. When your warehouse moves the order to your Sent status, we mark the exchange as fulfilled in Shopify with the tracking number. A price difference that is only authorized is captured at the same time. Learn more in Exchanges.

Your warehouse restocks in Ongoing, so keep Show Restock on Close off. Learn more in Restock on Close.

A changed customer address in Returnflows doesn't reach the exchange order in Ongoing. Change it on the order in Ongoing.

Claims

Claims go to Ongoing through the same integration. The products your customer sends back are created as a return order in Ongoing when the claim label is generated, with the cause returnflows-claim. The claim closes when Ongoing has received every product, and gets an alert if items are missing. An approved replacement or spare part is created as an order in your Open status. We release it when the claim is closed, or when you release it on the claim. Learn more in Handle claims and Resolutions.

What to do in Ongoing

Returns are on the return order list in Ongoing, not on the order list. Receive the return package on the return order as your warehouse does for any return. Never use the Return button on the original order. It reports the return to Shopify as refunded, also when your customer chose a gift card.

The claim cause returnflows-claim is a scrap cause. A claimed product isn't restocked by the handheld unless your warehouse chooses to.

Advanced settings

Under Advanced you also find these settings.

Setting

What it does

Send Shopify fulfillment mail

Lets Shopify send its own shipping confirmation when the exchange ships. Leave it off if the Exchange Fulfilled Confirmation email in Returnflows is on, or your customer gets two emails

Disable Capture Amount On Fulfillment

Stops us from capturing the price difference when the exchange ships. For special setups only

Customs Line Value

The customs value on the exchange order's lines. Sales Price is the price your customer paid after discounts. Cost Price is the variant's unit cost. Custom Multiplier is the sales price times a factor you enter

Learn more in Customer Notifications and Customs.

Good to know

  • The incoterm from the original order, and for the US and Canada the state, are copied to the exchange order. The way of delivery, the order classes and the order type of the original order are copied as well.

  • If the integration log shows that the order or its lines weren't found in Ongoing, then the Advanced settings don't match your orders in Ongoing. Change Search Order By or Article Matching, save, and send the event again from the log.

  • If the original order never reaches your Returned status, then the return stays in Delivered. A 3PL that only changes the return order's status has to change the original order's status too.

  • You can edit a return until the exchange order is released in Ongoing.

  • Several labels on one return are partly supported, and group returns aren't supported with Ongoing. Learn more in Multi-Label Criteria and Group Returns.

Did this answer your question?