Get order type by id