PUT v1/Shipments/{shipmentId}/RemoveOrderRows

Remove one or multiple OrderRows from an 'open' shipment.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shipmentId

Identifier of shipment

integer

Required.

Body Parameters

RemoveOrderRowsFromShipmentInfo
NameDescriptionTypeAdditional information
OrderRows

Collection of OrderRow identifiers to indicate which OrderRows from the shipment need to be removed.

Collection of integer

Required

GeneratePickList

Optional toggle to indicate whether the picklist should be (re-)generated on creation of the shipment.<br /><br />If you set this to false, you can still generate the PickList by calling the GeneratePickList API method.<br /><br />If not specified (null), Generate PickList setting from Warehouse is used.

boolean

None.

GeneratePackingSlip

Optional toggle to indicate whether the packingslip should be (re-)generated on creation of the shipment.<br /><br />If you set this to false, you can still generate the PackingSlip by calling the GeneratePackingSlip API method.<br /><br />If not specified (null), Generate packingslip setting from shop settings are used.

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderRows": [
    1,
    2
  ],
  "GeneratePickList": true,
  "GeneratePackingSlip": true
}

application/xml, text/xml

Sample:
<RemoveOrderRowsFromShipmentInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OrderRows>
    <OrderRowId>1</OrderRowId>
    <OrderRowId>2</OrderRowId>
  </OrderRows>
  <GeneratePickList>true</GeneratePickList>
  <GeneratePackingSlip>true</GeneratePackingSlip>
</RemoveOrderRowsFromShipmentInfo>

Response Information

Resource Description

Shipment
NameDescriptionTypeAdditional information
PreferredShipDate

The preferred date to ship the Shipment.

date

None.

OrderRows

Gets or sets the order rows included in this Shipment.

Collection of integer

None.

Params

Gets or sets the parameters.

Collection of ShipmentParameter

None.

Packages

Gets or sets the parameters.

Collection of ShipmentPackage

None.

Id

Gets or sets the identifier.

integer

Required

ShippingCode

Gets or sets the unique code for the shipment.

string

Max length: 200

CreateTimestamp

Gets or sets the create timestamp.

date

Required

ChangeTimestamp

The time data was changed.

date

None.

ShopId

Gets or sets the Shop identifier.

integer

None.

OrderId

Gets or sets the Order identifier.

integer

Required

OrderCode

Gets or sets the corresponding Order code.

string

None.

WarehouseId

Gets or sets the Warehouse identifier.

integer

None.

ParcelId

The Id of the created parcel.

integer

None.

PickedTimestamp

The time picked.

date

None.

PackedTimestamp

The time packed.

date

None.

ShippedTimestamp

The time shipped.

date

None.

HandOverTimestamp

The time the Shipment was communicated to 3rd party fulfilment.

date

None.

ShipmentType

The type of Shipment.

ShipmentTypeEnum

None.

Response Formats

application/json, text/json

Sample:
{
  "PreferredShipDate": "2026-01-11T16:14:59.0288545+01:00",
  "OrderRows": [
    1,
    2
  ],
  "Params": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2",
      "DataType": 0,
      "DataTypeName": "String"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2",
      "DataType": 0,
      "DataTypeName": "String"
    }
  ],
  "Packages": [
    {
      "Weight": 1,
      "Length": 2,
      "Width": 3,
      "Height": 4
    },
    {
      "Weight": 1,
      "Length": 2,
      "Width": 3,
      "Height": 4
    }
  ],
  "Id": 1,
  "ShippingCode": "sample string 2",
  "CreateTimestamp": "2026-01-11T16:14:59.0288545+01:00",
  "ChangeTimestamp": "2026-01-11T16:14:59.0288545+01:00",
  "ShopId": 4,
  "OrderId": 5,
  "OrderCode": "sample string 6",
  "WarehouseId": 1,
  "ParcelId": 1,
  "PickedTimestamp": "2026-01-11T16:14:59.0288545+01:00",
  "PackedTimestamp": "2026-01-11T16:14:59.0288545+01:00",
  "ShippedTimestamp": "2026-01-11T16:14:59.0288545+01:00",
  "HandOverTimestamp": "2026-01-11T16:14:59.0288545+01:00",
  "ShipmentType": 1
}

application/xml, text/xml

Sample:
<Shipment xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <ShippingCode>sample string 2</ShippingCode>
  <CreateTimestamp>2026-01-11T16:14:59.0288545+01:00</CreateTimestamp>
  <ChangeTimestamp>2026-01-11T16:14:59.0288545+01:00</ChangeTimestamp>
  <ShopId>4</ShopId>
  <OrderId>5</OrderId>
  <OrderCode>sample string 6</OrderCode>
  <WarehouseId>1</WarehouseId>
  <ParcelId>1</ParcelId>
  <PickedTimestamp>2026-01-11T16:14:59.0288545+01:00</PickedTimestamp>
  <PackedTimestamp>2026-01-11T16:14:59.0288545+01:00</PackedTimestamp>
  <ShippedTimestamp>2026-01-11T16:14:59.0288545+01:00</ShippedTimestamp>
  <HandOverTimestamp>2026-01-11T16:14:59.0288545+01:00</HandOverTimestamp>
  <ShipmentType>OwnShipping</ShipmentType>
  <PreferredShipDate>2026-01-11T16:14:59.0288545+01:00</PreferredShipDate>
  <OrderRows>
    <OrderRows>1</OrderRows>
    <OrderRows>2</OrderRows>
  </OrderRows>
  <Params>
    <Params>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
      <DataType>String</DataType>
    </Params>
    <Params>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
      <DataType>String</DataType>
    </Params>
  </Params>
  <Packages>
    <Packages>
      <Weight>1</Weight>
      <Length>2</Length>
      <Width>3</Width>
      <Height>4</Height>
    </Packages>
    <Packages>
      <Weight>1</Weight>
      <Length>2</Length>
      <Width>3</Width>
      <Height>4</Height>
    </Packages>
  </Packages>
</Shipment>