code: def create_shipment(self, data=None):
          
          if data is None:
              data = {'lines': []}
          return Shipments(self.client).on(self).create(data)
docs: Create a shipment for an order. When no data arg is given, a shipment for all order lines is assumed.