Price request
Version: 1.1, Date: 2024-09-03
Revision history
Date | Version | Description |
---|---|---|
2024-09-02 | 1.0 | Initial version. |
2024-09-04 | 1.1 | Servicelevel not passed along anymore Molleton used via max weight per package |
Business process
The customer service / transport team will select the carrier after they created an entry in Navision. They have an good idea (95% of cases ok) on how the order will be packed.
Detailed process
- Create order
- Customer service creates the order in Navision. They enter the expected
grote colli
,kleine colli
,grote pallet
andkleine pallet
based on the number and size of rolls ordered.
- Customer service creates the order in Navision. They enter the expected
- Request price selection by opening URL by Navision:
- Url:
- Production:
https://stitch.services.shipitsmarter.com/api/customers/indetex/pricing-request/request?environment=production&api_key={{willBeProvided}}&mag={{magazijnOrderNr}}
- Test:
https://stitch.services.shipitsmarter.com/api/customers/indetex/pricing-request/request?environment=test&api_key={{willBeProvided}}&mag={{magazijnOrderNr}}
- Production:
- Url:
- Retrieve order
- Viya requests the order information from Navision.
- Url: separate for production and test available at Viya.
- Credentials are available.
- Create ‘price request’ shipment
- Viya will transform the navision
order
to a shipping object. For now we call itpriceRequest
- There are some defaults/business logic to be included here like:
- Dimensions of packaging: large rols/small rolls/small colli/large colli
- maybe some other business rules
- If a
priceRequest
already exists for this order, it will be updated.- If the first label for the shipment has been generated, it cannot be altered anymore.
- Viya will transform the navision
- Forward user to price request page
- Indetex CS will open the URL to the price request page
- Optional: login if not already logged in
- The price request page will show the created shipment and focus on the carrier selection
- Select carrier/servicelevel/price etc..
- The Indetex Transport team will:
- Select carrier/servicelevel/price
- Maybe change some handling units/service options/addresses if needed to get a proper price
- Later stage: select service options (fragile, insurance, …)
- Save the selection
- User WILL NOT order the shipment here, only select the carrier/servicelevel/price
- Select carrier/servicelevel/price
- The Indetex Transport team will:
- Webbook in Viya (
shipping
module) fires on saving apriceRequest
with a new price:- webhook configured to call a Viya endpoint (
stitch
module) eg: https://indetex.viya.me/api/customers/indetex/carrierprice/confirmselection?pricerequestId=1234
- webhook configured to call a Viya endpoint (
- Update order with carrier/servicelevel/price
stitch
will collectpriceRequest
from Viya + order from Navision and update the order in Navision with the selected carrier/price- URL to post the updated order to Navision: same as step 2 but then in body it has a mag:Update tag instead of mag:Read
- When the shipment is ordered from the WMS the selected carrier & servicelevel will be used.