Package Splitting Flow
Last updated
Was this helpful?
Last updated
Was this helpful?
This flow allows orders created on the marketplace to be split into multiple packages. It operates by sending a request from OMS to the marketplace endpoint in a predefined format.
To configure the OMS Web Hook setting in Omnitron, follow this path: Omnitron Left Main Menu > Akinon OMS > Settings > Web Hooks
After accessing this setting, click the New Web Hook button located at the top right of the screen. The following screen should appear:
Webhook Settings:
Target URL: In the field shown in the screenshot above, enter the URL generated in the following format:
The variables used here are configured as explained below:
On the screen that appears, scroll down to the Applications list at the bottom of the page and select the marketplace application (e.g., N11).
On the next screen, locate the URL field in the section shown below. The part of the URL in the format “xxxxxxxx.lb.akinoncloud.com” corresponds to the mp_frontend_url
variable.
Use only the xxxxxxxx
portion as the value for mp_frontend_url
({mp_frontend_url}.lb.akinoncloud.com
).
Event Type: Enter the value in the following format:
Endpoint for Retrieving the oms_channel_id
Variable:
An example cURL request to this endpoint is as follows:
From the list of channels returned, retrieve the ID of the marketplace channel, as shown in the example below:
Additional Headers:
The token variable used here refers to the Omnitron user token.
Config: Enter the OMS channel ID as the channel ID.
Retry Countdown Config:
mp_frontend_url: Log in to using the credentials provided by Akinon. From the left main menu, select Projects. In the list that appears, click on the Applications link located above the relevant project: