NameDescriptionTypeAdditional information
WS_Key

(Mandatory) Webservice Key provided by 2ship support

string

None.

TrackingNumber

(Optional) Mandatory if DeleteType = ByTrackingNumber

string

None.

OrderNumber

string

None.

ShipmentId

(Optional) Mandatory if DeleteType = ByShipmentId

integer

None.

DeleteType

(Mandatory) this element is desired to know how to lookup the shipment that you wish to delete

WS_Repository.Models.Requests.Ship.DeleteType

None.

DeleteFromOnHold

(Optional) Specify if an order was in OnHold before was shipped then it will be also deleted from OnHold - Default behaviour is to not delete it from OnHold

boolean

None.