Shipment store
Version: 1.0, Date: 2025-12-10
Revision history
| Date | Version | Description |
|---|---|---|
| 2025-12-10 | 1.0 | Initial version. |
Business process
- If a delivery needs to be created without communication to the carrier, this endpoint can be used. This is used for the process where Kuehne & Nagel deliveries are provided with a pre-advice.
- The response will not return carrier labels and carrier tracking references.
Business rules
- Carrier & service is determined in SAP based on destination/pallet vs carrier.
- Viya will translate the carrier and service level codes to the carrier specific codes.
- SAP expects to NOT send commercial invoice data to Viya.
Integration touch points
Below diagram shows the interaction between WMS and Viya for the shipment store process.
There is no line between Viya and Carrier as there is no communication done to the carrier.
Goal
Create a shipment in Viya that is not communicated to the carrier.
Request & response
For the request, response and samples: see Shipment API schema documentation.
Payload:
- See Shipment API schema documentation for schema and samples for request and response.
- Specifics for this integration:
- The
ssccis passed in thehandlingUnits.references.referencefield. - The
ssccis the unique identifier for the handlingUnit. That field determines if a handlingUnit is new or already known. If nossccis provided, an error is thrown. - If a shipment with the same
shipment.referenceis inserted, the shipment will be updated with the new information. - The
shipment.referencecontains theDeliverynumberfrom the WMS. - The
Deliverynumberis also passed in theshipment.references.sapDeliveryfield.- This is Mandatory, if it is missing an error is returned.
- The
timewindows.pickup.requestedshould be used for the current or future time. This is the date for when the shipment is expected to be picked up. - The
carrierReferencecan be left empty, usetransportServices.shipperAssigned.carrierReferenceinstead. - The
shipment.serviceLevelReferencecan be left empty, usetransportServices.shipperAssigned.serviceLevelReferenceinstead. - The
transportServices.shipperAssigned.carrierReferenceshould contain the SAP code (only 0-9 and a-Z allowed), which can also be maintained in Viya.- Note: this value is only used if the
carrierReferencein the root of the message is not provided.
- Note: this value is only used if the
- The
transportServices.shipperAssigned.serviceLevelReferenceshould contain the SAP code for the service level. Viya will translate this to the carrier specificserviceLevelReference.- Note: this value is only used if the
serviceLevelReferencein the root of the message is not provided.
- Note: this value is only used if the
- The
shipment.accountsis defaulted with asenderandtransportaccount for the respective carrier as setup in Viya for address with referencecarriers-{locationreference}.- The
{locationReference}is the location reference of the sender, identical to thelocationReferencein the payload. - This means: if a carrier needs an account number: configure the account number in the Viya addressbook, the integration will pick it up.
- if a carrier account is known in SAP it can be passedin the
shipment.accountssection of the payload.
- The
- The