result = "";
string orderId = shipRequest.ParentOrder.OrderId;
    
var shipmentDatakey = Config.ShipLinkCache.GetKey(orderId);
if(shipmentDatakey != null)
{
		ShipLink.Helpers.LogHelper.LogMessage("Shipment data key is found");
		var shipmentKeyValue  = shipmentDatakey.Value.ToString();
		string shipmentDataIdStr = shipmentKeyValue.Substring(0,shipmentKeyValue.IndexOf('~'));
		Int64.TryParse(shipmentDataIdStr, out Int64 shipmentDataId);
		
		ShipLink.Helpers.LogHelper.LogMessage("ShipmentDataId=" + shipmentDataId );
		AutoShipStreamBatching.MarkShipped(shipmentDataId,"",shipResult.ShipmentInformation.MasterTrackingNumber,shipResult.ShipmentInformation.ServiceName);
}

