Booking in Ongoing

How Skrym interacts with Ongoing when performing a booking

Last updated 19 Jun 2024

This section explains the interaction between Ongoing and Skrym when using Skrym's Booking functionality.

Specific Set-up for Booking

To trigger a booking in Skrym from Ongoing, a developer.ongoingwarehouse.com faviconwebhook is usually set up, based on the OrderStatusChanged event moving from Picked to Send.

Booking Process

When Skrym receives the webhook call from Ongoing we:

  1. Fetch the entire order from Ongoing
  2. Check if the OrderNumber matches any entries in Skrym's system
    • If there is a match, proceed to step 3
    • If there is no match, Skrym tries to utilize the data in Ongoing WMS to book and print labels (see tabs below for more information)
  3. Match each parcel id against the stored parcels in Skrym (usually from a checkout session)
  4. Request booking to transporter
  5. Upload the label and tracking data (URL + reference) back to Ongoing
  6. Print label(s)

For the single parcel, there are two distinct possibilities:

1. Order is created with Skrym

The order can proceed as usual with no requirement for data to exist in Ongoing (except for the parcel which should have been added by Skrym).

2. Order is not created with Skrym

The order needs to have full shipping information available in Ongoing WMS, including package data, destination information, and chosen delivery option.

Confirmed Booking

When Skrym has finalized the booking, the label(s) is uploaded to Ongoing and each parcel in the order is updated with a tracking reference and URL. If the booking contains multiple parcels, and the transporter responds with multiple tracking references, Skrym will put the respective tracking data on each parcel in Ongoing.

TransporterTracking ReferenceTracking URL
postnord
00373500489530470000Yes
dhl
2904305345Yes
budbee
373501541843279332Yes
instabox
XX01720410992279Yes
earlybird
9990000000003544436Yes, but requires customer to enter reference
dbschenker
1005326820Yes