This feature is currently in beta version. Reach out to our Support Team here to learn more about the group splitting logic supported in the delivery checkout API.
Delivery Checkout API supports split shipments for merchants. Additionally, it can serve marketplace platforms (also ones with per vendor configurations). Both mentioned use cases can be materialised with use of groups. Group is a set of items that can differ from other groups by having different field value or condition met, like different shipping dates.
Group concept is flexible enough to handle a myriad of situations, like shipping items from different warehouses, stores or applying custom splitting logic on integrator side to group items into sets.
If you don't want to use neither split shipment nor you are a marketplace, your integration needs to handle only one group.
Configuring split shipment logic
Splitting logic of cart items into groups can be done by manually by integrator or by configuring splitting conditions in the merchant configuration. Splitting is done over the cart items based on the previously defined condition during session create and updates.
Each group will be mapped to a separate order.
Handling the split shipments manually
Splitting cart items into groups can be handled manually by the integrator. In order to perform the splitting, one has to define the
cart.groups field in create/update session requests to Delivery Checkout API.
This powerful feature is a great fit for integrators wanting to have full control over the groups and split shipments or wanting to keep the split shipment logic on their side.
Example create session request with cart items split into groups can look as follows.
"name": "Item name 1",
"name": "Item name 2",
"header": "Delivery 1",
"header": "Delivery 2",
There are some assumptions, that should be kept in mind when using the split feature:
cart.groupsfield is provided in the request, each group defined in the request should have
cart.groupsfield is provided in the request, all cart items should be mapped to the groups,
- groups cannot have the same group IDs,
- cart items are assigned to the groups by SKU,
- the same cart item cannot be shared between groups.
Manual grouping will be removed from the session, when no
groups field is provided in the subsequent
In order to preserve the manual grouping throughout the session lifecycle, one has to provide
groups field in all calls having
cart field set in the request.