You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Creating a shipment via REST fails when including SShipUnit

Summary:

I am trying to add a shipment to OTM for rating. The shipment was executed in another system and needs to be imported to OTM solely for rating and financial processes. I am trying to create the shipment including its SShipUnit and corresponding Lines.

Content (please ensure you mask any confidential information):

When posting the contents to logisticsRestApi/resources-int/v2/shipments I get the following error:

{
  "status": 400,
  "title": "Content error in message body.",
  "detail": "Invalid attribute sShipUnits for resource shipmentNoSSUs."
}

However, the REST documentation states:

A shipment ship unit can only be created in two cases. One, when it is provided as a part of the shipment payload.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!